Version 1

    Microsoft Office 365 Exchange Mailboxes

    This template shows information about Office 365 Exchange mailboxes and includes the following Component Monitors:

    • Inactive Exchange Users
    • Mailboxes Sizes
    • Mailboxes Over Quota
    • Mailboxes Sizes (Shared)
    • Archived Mailboxes
    • Forwarded Exchange Users
    • Top Senders (Count)
    • Top Receivers (Count)

     

    Prerequisites:

    • Windows PowerShell needs to be configured to run scripts
    • Check the following article for prerequisites:

    http://technet.microsoft.com/en-us/library/jj984289(v=exchg.150).aspx

    Credentials:

    • The user should have SAM Administrator permissions
    • Office 365 account with global administrator privileges.
      1. Microsoft has a Global Throttling Policy which limits simultaneous connections from one client for O365 to maximum three simultaneous connections”. The Scripts are designed to allow only 3 connections at a time, hence advise users to create and use an account for SAM monitoring only and nowhere else

     

    MONITORED COMPONENTS

    • Inactive Exchange Users
      • The component reports on the number of inactive mailboxes.
      • Unit: Number
    • Mailboxes Sizes
      • The component reports on the mailboxes that have the most data.
      • User can provide the maximum number of mailboxes to report by adjusting the script arguments value at the top of the component, it defaults to 5000.
        • Note: Archive mailboxes are not included.
      • Unit: GB
    • Mailboxes Over Quota
      • The component reports on the mailboxes that are over the quota limit
        • Note: If there are no quotas enabled this will return 0 values.
      • Unit: Number
    • Mailboxes Sizes (Shared)
      • The component reports on the shared mailboxes (recipient type details set to “SharedMailbox” or “RoomMailbox”) that have the most data.
      • User can provide the maximum number of mailboxes to report by adjusting the script arguments value at the top of the component, it defaults to 5000.
      • Unit: GB
    • Archived Mailboxes
      • The component reports on the mailboxes that have been archived
      • Unit: Number
    • Forwarded Exchange Users
      • The component reports on the mailboxes that have a non-empty “Forwarding Address” field configured in the in the O365 dashboard indicating that the mail is being forwarded elsewhere in addition to being delivered to the mailbox itself.
      • Unit: Number
    • Top Senders (Count)
      • The component reports the last 48 hours’ top senders of email in user’s environment based on count.
      • Unit: Number
    • Top Receivers (Count)
      • The component reports the last 48 hours’ top Receiver of email in user’s environment based on count.
      • Unit: Number

     

    Troubleshooting steps

    Detail troubleshooting steps (common for template)

    • Use UPN format (username@domain) and not domain\username format to enter credentials. Also, a service account for Exchange Web Services is recommended to avoid authentication issues when passwords are updated.

    Detail troubleshooting steps (specific for components if any)

    Microsoft has a Global Throttling Policy which limits simultaneous connections from one client for O365 and maximum three simultaneous connections are allowed”.

    To overcome this concurrency issue, we have implemented Locking mechanism and restricted 3 Scripts establishing a connection with Office-365, hence Sometimes scripts may take more time to fetch data, to handle such situation try to increase polling and time interval.

    Error : “Fail to create a runspace because you have exceeded the maximum number of connections allowed : 3 for the policy party : MaxConcurrency. Please close existing runspace and try again.”

     

    Portions of this document were originally created by and are excerpted from the following sources: