EWS cannot identify the attachment in an Exchange Server 2010 environment


When you retrieve an email attachment by using an Exchange Web Services (EWS) application, the ContentID element does not follow the order that is dictated by the XML schema. Specifically, the ContentID element may be returned as the last property instead of following the order of the elements. Therefore, EWS cannot identify the attachment.


To resolve this issue, install the following update rollup:

2936871 Update Rollup 6 for Exchange Server 2010 Service Pack 3


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

The protocol schema defines that the properties should be returned in the following order in the AttachmentType complex type:

  • AttachmentId

  • Name

  • ContentType

  • ContentId

  • ContentLocation

  • Size

  • LastModifiedTime

  • IsInline

For more information about the Attachment Handling Web Service protocol, go to the following Microsoft website:

General information about the AttachmentType complex type

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.