Forum Discussion
ankit shukla
Aug 08, 2019Iron Contributor
The total data received from the remote client exceeded the allowed maximum. The allowed maximum ...
I'm running this command in Exchange Online PowerShell to Check permission of a User on all mailboxes in the Organization (For Auditing Purpose) - 1. Get-Mailbox -ResultSize Unlimited | Get-Mail...
TheFrog
Aug 08, 2019Copper Contributor
The pb seems to be the size of what you transfer by the network. Well, reduce the size of what is transferred. How? > Filter on your 1st cmdlet (Get-Mailbox). > Try a : Get-Mailbox - Identity OneUser and look at the returned result. It returns a lot of things. However, only the MailboxIdParameter parameter is strictly necessary for the 2nd cmdlet. $Mailboxes = Get-Mailbox -ResultSize unlimited | select-object -property MailboxIdParameter should be significantly smaller. > Then go to the 2nd cmdlet Get-Mailboxpermission to keep only the properties that interest you if necessary before exporting to a .csv. Regards.