有没有办法列出使用 Outlook Rest API 的用户的共享邮箱?

Is there a way to list the Shared Mailboxes of a user using Outlook Rest API?

是否可以使用 Outlook Web API 或 Graph API 列出用户有权访问的共享邮箱?

假设用户 user@whatnot.com 可以访问共享邮箱 share1@whatnot.comshare2@whatnot.com,我想得到share1@whatnot.comshare2@whatnot.com .

您可以使用 Microsoft Graph API 访问共享邮箱。

您可以使用此请求来执行此操作

GET users/{userId | userPrincipalName}/mailfolders('Inbox')/messages

https://docs.microsoft.com/en-us/graph/outlook-share-messages-folders