Office 365: Bulk enabling auditing on Exchange Online Mailboxes

Auditing of mailbox operations are not enabled by default in Exchange Online. It is the responsibility of the administrator to choose which mailboxes should have auditing enabled and then subsequently enable auditing on the mailboxes. We have documented the process of enabling auditing on mailboxes in bulk at the following link:

I recently had a customer inquire if there were alternatives to having the client process the majority of this work. It is possible to invoke commands and allow for service processing – the issue is that the commands must be basic. For example, you cannot craft an invocation command that would attempt to filter users <or> implement a sleep during each set as the invocation syntax would be too large and complex. For example…