Applies to: Exchange Server 2007 SP3, Exchange Server
2007 SP2, Exchange Server 2007 SP1, Exchange Server 2007
Topic Last Modified: 2009-04-06
After you create a Microsoft Exchange ActiveSync mailbox policy, you can add users to that Exchange ActiveSync mailbox policy. By default, users are not 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.
Before You Begin
To perform this procedure, the account you use must be delegated the Exchange Recipient Administrator role.
For more information about permissions, delegating roles, and the rights that are required to administer Microsoft Exchange Server 2007, see Permission Considerations.
In addition, before you perform the following procedures, make sure that you have created an Exchange ActiveSync mailbox policy. For more information about how to create an Exchange ActiveSync mailbox policy, see How to Create an Exchange ActiveSync Mailbox Policy.
Procedure
To use the Exchange Management Console to add users to an Exchange ActiveSync mailbox policy
-
In the console tree, expand the Recipient Configuration node, and then click 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 ActiveSync, and then click Properties.
-
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.
To use the Exchange Management Shell to add users to an Exchange ActiveSync mailbox policy
-
Run the following command:
Copy Code Set-CASMailbox UserName -ActiveSyncMailboxPolicy(Get-ActiveSyncMailboxPolicy "Policy Name").Identity
To use the Exchange Management Shell to add all users to an Exchange ActiveSync mailbox policy
-
Run the following command:
Copy Code Get-Mailbox | Set-CASMailbox -ActiveSyncMailboxPolicy(Get-ActiveSyncMailboxPolicy "Policy Name").Identity
To use the Exchange Management Shell to add a filtered list of users to an Exchange ActiveSync mailbox policy
-
Run the following command:
Copy Code Get-Mailbox | where { $_.CustomAttribute1 -match "Manager" } | Set-CASMailbox -activesyncmailboxpolicy(Get-ActiveSyncMailboxPolicy "Policy Name").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, Get-ActiveSyncMailboxPolicy, and Get-Mailbox.
For More Information
For more information about mobile mailbox policies, see the following topics: