Article ID: 2795303 - View products that this article applies to.
Expand all | Collapse all

INTRODUCTION

This article describes how to disable Microsoft Exchange ActiveSync for users in Microsoft Office 365.

PROCEDURE

Office 365 admins can use the following to disable Exchange ActiveSync access for users.
  • Exchange Online PowerShell
  • Exchange admin center

Exchange Online PowerShell

Collapse this imageExpand this image
assets folding start collapsed
To disable ActiveSync for users by using Exchange Online PowerShell, follow these steps:
  1. Connect to Exchange Online by using remote PowerShell. For more information about how to do this, go to the following Microsoft website:
    Connect to Exchange Online using remote PowerShell
  2. Do one of the following:
    • To disable ActiveSync connectivity for a single user, run the following command:
      Set-CASMailbox -Identity <Mailbox ID> -ActiveSyncEnabled $False
    • To disable ActiveSync connectivity for a group of users, use the Get-User cmdlet to change the scope of the command.

      For example, to disable ActiveSync for all the users in the Sales department, run the following command:
      Get-User -RecipientTypeDetailsUserMailbox | where {$_.Department -eq "Sales"} | Set-CASMailbox -ActiveSyncEnabled $False
    • To disable ActiveSync for all users in an organization, run the following command:
      Get-Mailbox | Set-CasMailbox -ActiveSyncEnabled $False
Collapse this imageExpand this image
assets folding end collapsed

Exchange admin center

Collapse this imageExpand this image
assets folding start collapsed
To disable ActiveSync for users in Office 365 by using the Exchange admin center, follow these steps:
  1. Sign in to the Office 365 portal (https://portal.office.com) as a global admin.
  2. Click Admin, and then click Exchange.
  3. In the left navigation pane, click recipients, and then click mailboxes.
  4. Select the user mailbox that you want to change, and then click Edit (
    Collapse this imageExpand this image
    A screen shot of the Edit icon
    ).
  5. Click mailbox features, and then click Disable Exchange ActiveSync.

    Collapse this imageExpand this image
    A screen shot of the Mailbox Feature dialog box
  6. Click OK.

REFERENCES

For more information about the Windows PowerShell cmdlets that are mentioned in this article, go to the following Microsoft TechNet websites:
  • Get-User
  • Set-CasMailbox
  • Get-Mailbox
Still need help? Go to the Office 365 Community website.

Properties

Article ID: 2795303 - Last Review: July 13, 2014 - Revision: 12.0
Applies to
  • Microsoft Exchange Online
Keywords: 
o365 kbgraphxlink o365022013 o365a o365e o365p o365m kbgraphic KB2795303

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com