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.
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)
">
This is in an on-premise high trust (S2S) environment.
Comments