Question

I am trying to follow bellow documentation of Microsoft https://docs.microsoft.com/en-us/sharepoint/dev/apis/webhooks/get-started-webhooks

I have given below permission azure app enter image description here

But when I send any POST request it gives me access denied

enter image description here

But my GET request always run without any error

My ngrok also works fine enter image description here

I feel that my token is not passing through while POST request. Can somebody guide me.

Was it helpful?

Solution

Most likely you should add more permissions for your Azure AD app, AllSites.Manage or even AllSites.FullControl. Read\Write is more about the list items and not webhooks.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top