Graph API - Query single mailbox - Mailbox Size

CarlChevalier 96 Reputation points
2021-09-27T15:57:59.127+00:00

Hi

I cannot find any reference for Graph API on getting mailbox statistics for a single mailbox in the same way we do it in Powershell with get-mailboxStatistics.. Do you know anything that could help?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,479 questions
Exchange Server Management
Exchange Server Management
Exchange Server: A family of Microsoft client/server messaging and collaboration software.Management: The act or process of organizing, handling, directing or controlling something.
7,703 questions
0 comments No comments
{count} votes

Accepted answer
  1. CarlChevalier 96 Reputation points
    2021-09-27T17:27:55.817+00:00

    That is unfortunate. Will carry on using Powershell for this.
    Thank you for this quick reply.

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Vasil Michev 109.4K Reputation points MVP
    2021-09-27T16:12:00.05+00:00

    The Graph API currently does not support any Exchange admin operations, so there is no such endpoint. Use PowerShell, or if you need a Graph-based solution, use the reports endpoint as a workaround (mailbox usage report: https://learn.microsoft.com/en-us/graph/api/resources/mailbox-usage-reports?view=graph-rest-1.0)

    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.