How to Add Users to an Exchange ActiveSync Mailbox Policy

Microsoft Exchange Server 2007 will reach end of support on April 11, 2017. To stay supported, you will need to upgrade. For more information, see Resources to help you upgrade your Office 2007 servers and clients.


Applies to: Exchange Server 2007, Exchange Server 2007 SP1, Exchange Server 2007 SP2, Exchange Server 2007 SP3

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.

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.

  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. Click Browse to view the Select Exchange ActiveSync Mailbox Policy dialog box.

  6. Select an available policy, and then click OK three times to apply your changes.

    You can add multiple users to a policy at the same time. However, that task must be accomplished by using the Exchange Management Shell.

  • Run the following command:

    Set-CASMailbox UserName -ActiveSyncMailboxPolicy(Get-ActiveSyncMailboxPolicy "Policy Name").Identity

  • Run the following command:

    Get-Mailbox | Set-CASMailbox -ActiveSyncMailboxPolicy(Get-ActiveSyncMailboxPolicy "Policy Name").Identity

  • Run the following command:

    Get-Mailbox | where { $_.CustomAttribute1 -match "Manager"
     } | Set-CASMailbox -activesyncmailboxpolicy(Get-ActiveSyncMailboxPolicy "Policy Name").Identity
    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.