Office 365 API ErrorAccessDenied (Access is denied. Check credentials and try again.)

后端 未结 1 995
终归单人心
终归单人心 2020-12-10 09:33

I\'m trying to build me first app with office 365 API and have one big problem.

I\'m trying to get main info about user with Office 365 API and Azure Active Director

相关标签:
1条回答
  • 2020-12-10 09:40

    Thanks for your question and sorry to hear about the trouble you are having with your first app. Can you please check the permissions for Office 365 Exchange Online and make sure the permission "Have full access to a user's mailbox" is NOT selected? See attached image for more details.

    enter image description here

    This is meant for access to a user's mailbox using an older API called Exchange Web Services, and not intended for Office 365 REST APIs. I think you are getting "Access Denied" for your REST API request because you may have selected this permission.

    Let me know if you are still seeing an issue after removing this permission. Let me know if you have any questions or need more info.

    Thanks,

    Venkat

    0 讨论(0)
提交回复
热议问题