Disable ActiveSync Access in Exchange 2010 Mailbox

Exchange ActiveSync is a protocol which enables mobile devices to synchronize information with an Exchange Mailbox. ActiveSync synchronizes your mail, contacts, calendar and tasks over a WiFi connection or a cellular network. It may be due to a company policy or as a new compliance requirement you might have to disable ActiveSync access to certain users. In this article I will show how to disable ActiveSync in Exchange 2010 mailbox. When you disable ActiveSync access in Exchange 2010 mailbox, the mobile device associated with that particular mailbox will no longer synchronizes data from an Exchange mailbox.

Disable ActiveSync Access in Exchange 2010 Mailbox

You can disable ActiveSync access either through Exchange Management Console or through Exchange Management Shell. In this article we will run through both processes to disable ActiveSync for a mailbox Test01.

Disabling ActiveSync for a Mailbox using Exchange Management Console.

To disable ActiveSync using EMC, open Exchange Management Console → expand Recipient Configuration → click on Mailbox → select the mailbox for which you have to disable ActiveSync → click on Properties from the action pane as shown below.

Disable ActiveSync Access in Exchange 2010 Mailbox

This will open the mailbox properties page, now click on Mailbox Features tab → Select Outlook Web App and then click Disable. Similarly from this page you can switch between other mailbox features. Once the required options are set click on OK.

Disabling ActiveSync for a Mailbox using Exchange Management Shell.

To disable ActiveSync for a mailbox using Exchange management shell, issue the following PS command.

Set-CasMailbox -Identity Test01 -ActiveSyncenabled $false

The above command will not provide any output. You can use the following PS command to verify if ActiveSync is disabled or not.

Get-CASMailbox -Identity Test01 | Select ActiveSynce*

Which will output results similarly as shown below.

Disabled ActiveSync

You can also disable ActiveSync for multiple users by importing a csv file into the PS command.  Below is an example:

Import-Csv C:\Temp\List.csv|foreach { Set-CasMailbox -Identity $_.Ailas -ActiveSyncenabled $false }

I have used the following csv template as an input to the above command.

CSVTemp

In this way you can disable ActiveSync access in Exchange 2010 mailbox.

The following two tabs change content below.
Bipin is a freelance Network and System Engineer with expertise on Cisco, Juniper, Microsoft, VMware, and other technologies. You can hire him on UpWork . Follow Bipin Giri on Google+. Bipin enjoys writing articles and tutorials related to Network technologies. Some of his certifications are, MCSE:Messaging, JNCIP-SEC, JNCIS-ENT, and others.