Exchange email storage alert to admin

Aran Billen 576 Reputation points
2024-04-16T14:01:27.2966667+00:00

Hi all,

Is it possible to set up a policy or rule to notify admin that a particular email is nearly full ie 80%

Microsoft Exchange Online
0 comments No comments
{count} votes

Accepted answer
  1. Mike Hu-MSFT 390 Reputation points Microsoft Vendor
    2024-04-23T06:53:31.2633333+00:00

    Hi,

    Please understand that the tag “Microsoft Exchange Online Management” is for general questions related to Exchange Online. For your question about the script which is not supported in our community. But based on my personal experience, you could refer to https://devblogs.microsoft.com/scripting/get-exchange-online-mailbox-size-in-gb/ to find out about the use of ToMB().

    Hope this helps!

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Vasil Michev 95,581 Reputation points MVP
    2024-04-16T16:03:17.58+00:00

    If your tenant has over 5000 licenses, you can address this via priority accounts monitoring, as detailed here: https://learn.microsoft.com/en-us/microsoft-365/enterprise/microsoft-365-exchange-monitoring?view=o365-worldwide

    Otherwise, schedule a script/workflow to periodically fetch mailbox usage data via PowerShell or the Graph API reports endpoint. There are plenty examples available online, look them up.