Forum Discussion

Robert Bollinger's avatar
Robert Bollinger
Brass Contributor
Aug 26, 2022

Throttling Policies, Mailbox Audit Script.

Hey Guys, 

 

I am set to run the following script tonight in our Tenant. The tenant has about 40K active mailboxes and a whole lot more older inactive mailboxes. https://github.com/o365soa/Scripts/blob/master/Configure-MailboxAuditLogging.ps1

 

This script was recommended to us to enable transferring Mailbox audit logs to the Unified Audit log. I have the change approved and am all set to run it. 

 

However I am concerned that we are going to run into throttling policies, I understand that I can request an increase for throttling policies, but will that work for the above script? 

 

I also understand that i would be hitting the PowerShell budget with the above script is that correct? 

 

Thanks, 

 

Robert 

  • You are overthinking it. This is a one-time operation, so just break the 40k users into batches and be done with it.
  • You are overthinking it. This is a one-time operation, so just break the 40k users into batches and be done with it.
    • Robert Bollinger's avatar
      Robert Bollinger
      Brass Contributor
      I Wasn't able to break this into batches. But I ran the script anyways and it managed to update 70K mailboxes in 10 Hours. It uses the connect-exchangeonline PowerShell modules. Astoundingly fast.

Resources