Tag Archives: erroraccessdenied

while try to Create new contact using microsoft graph explorer throws http 403


Ok, recently i got a chance to create a new contact in Office 365 using Microsoft Graph API. I used Microsoft Graph Explorer for it.

I got the error HTTP 403 Forbidden at Graph Explorer and in the response we see that “ErrorAccessDenied”. It’s telling that you need permissions to make the above API call successful.

Note:  Also you may want to validate your token in https://jwt.ms as well to make sure that you have necessary permissions/scopes or not.

Le Cafe de Deva - Deva Blogs © 2021

In order to proceed further, you need to provide consent to the necessary permissions required at “Modify Permissions” in Graph Explorer.

Le Cafe de Deva - Deva Blogs © 2021

Select the consent button in you will see the permissions requested popup, provide your consent as well.

Le Cafe de Deva - Deva Blogs © 2021

Right after the above successful step, i went back to Microsoft Graph Explorer, tested the API – it worked like a charm. Hope this comes handy to you.

Happy Graph coding!!