Forum Discussion
john john
Jan 07, 2020Iron Contributor
Microsoft.SharePoint.Client.ServerUnauthorizedAccessException Access denied
I want to build a remote event receiver for our SharePoint online development site collection. So i followed the step mentioned in this link @ https://derekgusoff.wordpress.com/2017/11/08/remote-eve...
Rahul Suryawanshi
Jan 07, 2020Brass Contributor
Based on the steps you mentioned, I don't see a step where you mentioned that the SharePoint app you created is trusted. You need to trust the app as SharePoint site collection admin or SharePoint Admin so the app credentials are used in the code as valid credentials.