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.


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.

  • So, you mean to say we should have higher permission. Thank you for clarification it works like charm – Milind Nov 30 '19 at 20:51

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.