Share via


Add Users to an Exchange ActiveSync Mailbox Policy

[This topic is in progress.]

Applies to: Exchange Server 2010

After you create a Microsoft Exchange ActiveSync mailbox policy, you can add users to that Exchange ActiveSync mailbox 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.

Before You Begin

To perform this procedure, the account you use must be delegated the Exchange Recipient Administrator role.

Also, before you perform these procedures, ensure that you've created an Exchange ActiveSync mailbox policy. For more information about creating an Exchange ActiveSync mailbox policy, see View or Configure Exchange ActiveSync Mailbox Policy Properties.

Procedure

To use the Exchange Management Console to add users to an Exchange ActiveSync mailbox policy

  1. In the console tree, expand the Recipient Configuration node, and then click Mailbox.

  2. In the work pane, right-click the user who you want to assign to a policy, and then click Properties.

  3. In the user's Properties dialog box, click Mailbox Features.

  4. Click ActiveSync, and then click Properties.

  5. Select the Apply an ActiveSync mailbox policy check box.

  6. Click Browse to view the Select Exchange ActiveSync Mailbox Policy dialog box.

  7. 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:

    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:

    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:

    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: