Applies to: Exchange Server 2010 SP3, Exchange Server 2010 SP2
Topic Last Modified: 2012-07-23
After you create a Microsoft Exchange ActiveSync mailbox policy, you can add users to that policy. By default, users aren't assigned to an Exchange ActiveSync mailbox policy. You can add a user to only one Exchange ActiveSync mailbox policy at a time. If you add a user to an Exchange ActiveSync mailbox policy, and that user is a member of another Exchange ActiveSync mailbox policy, that user is removed from the original Exchange ActiveSync mailbox policy and added to the new Exchange ActiveSync mailbox policy. You can add users individually or add a filtered group of users to an Exchange ActiveSync mailbox policy.
Prerequisites
The Client Access server role has been installed on a Microsoft Exchange Server 2010 computer.
Use the EMC to add users to an Exchange ActiveSync mailbox policy
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Exchange ActiveSync mailbox policy settings" entry in the Client Access Permissions topic.
- In the console tree, navigate to Recipient Configuration
> Mailbox.
- In the work pane, right-click the user who you want to assign
to a policy, and then click Properties.
- In the user's Properties dialog box, click Mailbox
Features.
- Click Exchange ActiveSync, and then click
Properties.
- Select the Apply an Exchange ActiveSync mailbox policy
check box.
- Click Browse to view the Select Exchange ActiveSync
Mailbox Policy dialog box.
- Select an available policy, and then click OK three
times to apply your changes.
- Note You can add multiple users to a
policy at the same time. However, that task must be accomplished by
using the Exchange Management Shell.
- Note You can add multiple users to a
policy at the same time. However, that task must be accomplished by
using the Exchange Management Shell.
Use the Shell to add users to an Exchange ActiveSync mailbox policy
You need to be assigned permissions before you can perform this procedure. To see what permissions you need, see the "Exchange ActiveSync mailbox policy settings" entry in the Client Access Permissions topic.
This example adds a user with the username TonySmith to an Exchange ActiveSync mailbox policy named Sales.
Copy Code | |
---|---|
Set-CASMailbox TonySmith -ActiveSyncMailboxPolicy(Get-ActiveSyncMailboxPolicy "Sales").Identity |
This example adds all users to an Exchange ActiveSync mailbox policy named Corporate.
Copy Code | |
---|---|
Get-Mailbox | Set-CASMailbox -ActiveSyncMailboxPolicy(Get-ActiveSyncMailboxPolicy "Corporate").Identity |
This example adds a filtered list of users to an Exchange ActiveSync mailbox policy named Contoso.
Copy Code | |
---|---|
Get-Mailbox | where { $_.CustomAttribute1 -match "Manager" } | Set-CASMailbox -activesyncmailboxpolicy(Get-ActiveSyncMailboxPolicy "Contoso").Identity |
Note: |
---|
You can substitute CustomAttribute1 for any of the
properties on the Get-Mailbox object. To view the full list,
type: Get-Mailbox username |fl |
For more information about syntax and parameters, see Set-CASMailbox.