Enable a Device for Exchange ActiveSync
Applies to: Exchange Server 2010
Microsoft Exchange Server 2010 enables you to restrict access to Microsoft Exchange ActiveSync by using the device ID. This feature prevents users from synchronizing unauthorized mobile phones with Exchange 2010. You can configure this restriction on each user's mailbox. By default, if Exchange ActiveSync is enabled for a user, the user can synchronize the Exchange mailbox with any mobile phone. To restrict a user to a specific mobile phone, populate the ActiveSyncAllowedDeviceIDs
parameter from the Set-CASMailbox task. If Exchange ActiveSync isn't enabled for users, they won't be able to synchronize any mobile phone with Exchange. You can enable a specific mobile phone for Exchange ActiveSync, but only by using the Shell.
Looking for other management tasks related to Exchange ActiveSync mobile phones? Check out Managing Exchange ActiveSync Devices.
Prerequisites
Exchange ActiveSync is enabled for the user.
Use the Shell to enable a mobile phone for Exchange ActiveSync
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Exchange ActiveSync Device Settings" entry in the Client Access Permissions topic.
This example adds two mobile phones to a list of allowed mobile phones for the user with the alias tonysmit. The mobile phones are added through a property called the DeviceID, which is a unique identifier associated with every mobile phone.
Set-CASMailbox -Identity: "tonysmit" -ActiveSyncAllowedDeviceIDs: "<DeviceID_1>","<DeviceID_2>"
Note
There is no built-in functionality for retrieving the device ID before the user synchronizes with the Exchange server. After the user has synchronized the mobile phone with the Exchange server, this example will enable you to retrieve the device ID: Get-ActiveSyncDeviceStatistics -Mailbox:"<EmailAlias>" |fl DeviceID
For more information about syntax and parameters, see Set-CASMailbox.
For more information about how to manage Windows Mobile phones, visit the Windows Mobile Center Web site.