You will need to use Exchange powershell:
Graph does not yet support this.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, in Outlook I can share my inbox with another user and grant them read access or write access.
When using graph API, is there a way to tell what permissions a user has to a specific shared inbox, e.g. no access, read only, read and write?
I am using delegated permissions.
Thanks
You will need to use Exchange powershell:
Graph does not yet support this.
Hello Andrew Earl,
Greetings from Microsoft Support!
Currently, there isn’t a direct API call in Microsoft Graph to explicitly check the permissions a user has on a shared inbox. However, you can infer the permissions by attempting specific actions and handling the responses:
The Signed User should be the individual whose mailbox access is being verified.
The UserId should be the identifier of the user with a shared inbox.
GET /users/{UserId}/mailFolders('Inbox')/messages
If successful, the user has at least read access. POST /users/{UserId}/mailFolders('Inbox')/messages
If successful, the user has write access.These steps allow you to determine the level of access indirectly.
Hope this helps.
If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.