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?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,512 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.
4,629 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
22,462 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Deva-MSFT 2,266 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.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.