Corrupt ActiveSync device
Sometimes you can get a corrupt ActiveSync device in a Exchange 2010 mailbox.
- You can see the device in OWA under options > Phone > Mobile phones.
- When you try to do anything with the device (Details or Wipe) you will get an error message.
- If you in Powershell try to get the ActiveSyncDevices (Get-ActiveSyncDevice -mailbox mailbox_id) you will not see the corrupted device.
Why is this happening
When a user sets up a ActiveSync relationship the information is stored in two places (AFAIK);
- Hidden folders in the user mailbox

- AD as child items to the user account
How to fix
This fix deletes the corrupted ActiveSync device that is visible from OWA so a new partnership can be established (or just to remove an orphan device from the list):
- Download MFCMapi
- Create a MAPI Profile to the users mailbox on a server/workstation with Outlook
You might as a administrator add [Full Access] permissions to the mailbox that you are going to fix (remember to remove the permissions after the routine is finished)
- Start MFCMapi
- Menu Session > Logon [choose the correct Outlook Profile]
- Double click the "Mailbox - User name"
- Expand the "Root Container"
- Expand the "ExchangeSyncData"
- Locate the corrupt device (a folder under ExchangeSyncData) and right click > Delete Folder
[I recommend a hard delete]
- Close MFCMapi
Links