I am working on SharePoint site notifications using webhook. I have added webhook subscription using the following reference Get started with SharePoint webhooks. I have got Notification from the previous steps and then I passed it to the ProcessNotification() of the ChangeManager.cs class.

As i debugged the program, I am getting the following exception on Line No. 81 cc.ExecuteQueryRetry() in ChangeManager.cs:

Access denied. You do not have permission to perform this action or access this resource.

How to can I get rid of this exception and get changes detail on the site?

  • can you point out the code line where you get this error in ChangeManager.cs? – Akshay Randive Feb 4 at 7:13
  • @Akshay Randive On Line No. 81 cc.ExecuteQueryRetry(); in ChangeManager.cs. – Abhi Singh Feb 4 at 7:43
  • I think the issue is with App permissions. this blog can help you medium.com/@ankitgirgas/… – Akshay Randive Feb 5 at 3:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.