Enable or disable Exchange ActiveSync for a mailbox

You can use the EAC or Exchange Online PowerShell to enable or disable Microsoft Exchange ActiveSync for a user mailbox. Exchange ActiveSync is a client protocol that lets users synchronize a mobile device with their Exchange mailbox. Exchange ActiveSync is enabled by default when a user mailbox is created. To learn more, see Exchange ActiveSync.

What do you need to know before you begin?

Tip

Having problems? Ask for help in the Exchange forums. Visit the forums at Exchange Online or Exchange Online Protection..

Use the EAC to enable or disable Exchange ActiveSync

  1. In the EAC, navigate to Recipients > Mailboxes.

  2. In the list of user mailboxes, click the mailbox that you want to enable or disable Exchange ActiveSync for, and then click Edit Edit icon.

  3. On the mailbox properties page, click Mailbox Features.

  4. Under Mobile Devices, do one of the following:

    • To disable Exchange ActiveSync click Disable Exchange ActiveSync.

      A warning appears asking if you're sure you want to disable Exchange ActiveSync. Click Yes.

    • To enable Exchange ActiveSync, click Enable Exchange ActiveSync.

  5. Click Save to save your change.

Note

You can enable and disable Exchange ActiveSync for multiple user mailboxes by using the EAC bulk edit feature. For more information about how to do this, see the "Bulk edit user mailboxes" section in Manage user mailboxes.

Use Exchange Online PowerShell to enable or disable Exchange ActiveSync

This example disables Exchange ActiveSync for the mailbox of Yan Li.

Set-CASMailbox -Identity "Yan Li" -ActiveSyncEnabled $false

This example enables Exchange ActiveSync for the mailbox of Elly Nkya.

Set-CASMailbox -Identity Ellyn@contoso.com -ActiveSyncEnabled $true

For detailed syntax and parameter information, see Set-CASMailbox.

How do you know this worked?

To verify that you've successfully enabled or disabled Exchange ActiveSync for a user mailbox, do one of the following:

  • In the EAC, navigate to Recipients > Mailboxes, click the mailbox, and then click Edit Edit icon.

  • On the mailbox properties page, click Mailbox Features.

  • Under Mobile Devices, verify whether Exchange ActiveSync is enabled or disabled.

Or

  • Run the following command in Exchange Online PowerShell.

    Get-CASMailbox <identity>
    

    If Exchange ActiveSync is enabled, the value for the ActiveSyncEnabled property is True. If Exchange ActiveSync is disabled, the value is False.