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?