You try to remove some Exchange ActiveSync device associations from Exchange Server 2013. When you use the Exchange Management Shell or the Exchange Administration Center to remove the associations, you receive following error message:

WARNING: An unexpected error has occurred and a Watson dump is being generated: DeviceId cannot contain hyphens.

In some cases, when you try to delete those device associations from the Active Directory database, you find that the device association is not included in the Active Directory database and cannot be removed at all.


This problem occurs when a hyphen is used in the device identity. Additionally, the DistinguishedName field is changed if an Active Directory conflict exists.


To fix this problem, install Cumulative Update 12 for Exchange Server 2013 or a later cumulative update for Exchange Server 2013.


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


Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

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

Was this information helpful?

What affected your experience?

Thank you for your feedback!