How to access the graphical API in Azure AD v2.0 for a shared mailbox?

I need to write an application that will read messages in several shared mailboxes.

https://graph.microsoft.com/v1.0/users/myaccount@mydomain.com/messages

This request is sent with an authorization token. Great for me. The general mailbox belongs to me. However:

https://graph.microsoft.com/v1.0/users/sharedmailbox@mydomain.com/messages

Always return 403 Unauthorized. Is it possible? If not, what are the alternatives?

+4
source share

Source: https://habr.com/ru/post/1668768/


All Articles