Get Exchange online public mailbox owner via Microsoft Graph API

Eric Chen 21 Reputation points
2020-12-14T07:40:01.127+00:00

Hello,

I'm using Microsoft Graph API for retrieving kinds of info from office365 for audit purpose.
The current task is get received mailbox usage of certain mailboxes which is Plan2,
by using below API successfully:

GET https://graph.microsoft.com/v1.0/users/$user.UPN/messages/

but, we need more info about those public mailboxes, like who is the Owner of this certain public Exchange Online Plan2 mailbox.

Could I get it from the Microsoft Graph API as well?

Azure Active Directory
Azure Active Directory
An Azure enterprise identity service that provides single sign-on and multi-factor authentication.
13,443 questions
Microsoft Graph Mail API
Microsoft Graph Mail API
A Microsoft API that supports accessing data in users' primary mailboxes and in shared mailboxes.
724 questions
Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
3,098 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,231 Reputation points Microsoft Employee
    2020-12-19T05:53:14.337+00:00
    • If you want to query Exchange mailbox, its attributes related info then you can use Exchange Powershell to query. Here's the documentation. In case if you want to add the folder level permissions for users in mailboxes then you can use Exchange Powershell and Add-MailboxFolderPermission
      cmdlet. Here's the documentation.
    • If you want to get the mailbox usage then you can Microsoft Graph API reports. Here's the documentation.
    1 person found this answer helpful.
    No comments