Running get-mailboxpermission against mailboxes generates following error:
Sending data to a remote command failed with the following error message: The WinRM client sent a request to the remote WS-Management service and was notified that the request size exceeded the configured MaxEnvelopeSize quota. For more information, se
e the about_Remote_Troubleshooting Help topic.
+ CategoryInfo : OperationStopped: (System.Manageme...pressionSyncJob:PSInvokeExpressionSyncJob) , PSRemotingTransportException
+ FullyQualifiedErrorId : JobFailure
+ PSComputerName : xxxxxxxxxxx
This happens when job is run against large OU but was never problem in the past: could run against all mailboxes.
I've looked to the WinRM configuration and have upped maxenvelopesizekb from 150 to 700. I have not yet added this parameter to the IIS web.config file. The parameter does not currently exist in the web.config file...should it?
We did run winrm quickconfig a couple of months ago as part of trouble shooting another issue...this may be how envelopesize got to 150.
So, I'm a little uncertain about the next step; i.e. should I edit the web.config file and then do IISRESET? Also, I'd like to understand why this got out of whack in the first place as large queries have run fine in the past and underlying data has not changed; i.e. number of mailboxes hasn't increased and number of full access permissions hasn't increased dramatically.
Thanks in advance for any help anyone can provide.