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? Commented Feb 4, 2020 at 7:13
  • @Akshay Randive On Line No. 81 cc.ExecuteQueryRetry(); in ChangeManager.cs.
    – Abhi Singh
    Commented Feb 4, 2020 at 7:43
  • I think the issue is with App permissions. this blog can help you medium.com/@ankitgirgas/… Commented Feb 5, 2020 at 3:28


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.