The following error was returned from the Office 365 PowerShell cmdlet. The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://provisioning.microsoftonline.com/:ListUsersResult. The InnerException message was 'Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Change the object graph or increase the MaxItemsInObjectGraph quota. '. Please see InnerException for more details. Ensure that the gathering credentials used to collect the Office 365 information have been assigned the global adminstrator role.The following error was returned from the Microsoft Online PowerShell cmdlet. The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://provisioning.microsoftonline.com/:ListUsersResult. The InnerException message was 'Maximum number of items that can be serialized or deserialized in an object graph is '65536'. Change the object graph or increase the MaxItemsInObjectGraph quota. '. Please see InnerException for more details. Ensure that the gathering credentials used to collect the Office 365 information have been assigned the global adminstrator role.
1. From the MessageStats machine, navigate to C:\Windows\Microsoft.NET\Framework64\v2.0.50727\CONFIG, back up machine.config.
2. Edit machine.config
5. Run the MessageStats Office 365 Gathering
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center