SharePoint 2013 Remote Event Receiver - Access Denied

If you're getting access denied error for remote event receiver (i.e AppInstalled), one of the possible reason is that you might have set to the allow app only policy to false.

Below is the error that I got in the ULS log.

Microsoft.SharePoint.Client.ServerUnauthorizedAccessException: Access denied. You do not have permission to perform this action or access this resource.

The setting is by default turned on.  But if you accidentally turned off, you can turn it back on through the AppManifest.xml designer or just update the XML (refer to below example)


true
">
         



This is in an on-premise high trust (S2S) environment.

Comments

Popular posts from this blog

SharePoint 2013 App Details Page Error

SharePoint 2013 - Working with Display Template for Content Search Web Part

Add spell check dictionary in SharePoint 2010, SharePoint 2013, and Office 365