Code: Select all
Get-ActiveSyncDeviceStatistics -Mailbox [username] | Select-Object -Property "Identity"
This error occurs because the device has moved to another location in Active Directory or is disconnected.
The trick in this issue is to remove the device on its GUID.
1 First, open the Exchange Management Shell
2 Run the following cmdlet:
Code: Select all
Get-ActiveSyncDeviceStatistics -Mailbox emailaddress@yourdomain.com
4 Run the following cmdlet:
Code: Select all
Remove-ActiveSyncDevice -Id [e.g. 0215da00-227e-4470-a498-e4a44615a223]
After that the devices are deleted in Exchange.