Expected XML node type was XmlDeclaration, but actual type is Element

Error​​

Expected XML node type was XmlDeclaration, but actual type is Element.

Cause

This normally indicates that the server is unavailable or under stress and, as a result, is returning unexpected XML content when accessed using the EWS (Exchange Web Services) API.

Resolution

Solve this issue by performing the following steps:

  1. Check if the Exchange server is responding and can be logged into using OWA.
  2. Resubmit the migration if it failed, or submit your mailbox in Retry Mailbox Migration Errors mode after the mailbox has successfully migrated.
Was this article helpful?
0 out of 0 found this helpful