Read this blog to get some quick ways to enable or disable Exchange ActiveSync for user mailboxes in the Exchange organization to synchronize Exchange mailboxes information with mobile devices.

Role of Exchange ActiveSync

Exchange ActiveSync is an Exchange Synchronization protocol in Exchange 2013 and later versions that offer Exchange server information such as emails, contacts, calendars, etc., accessibility to mobile devices. This protocol has a high level of optimization for quick synchronization, even in low bandwidth and high latency networks.

Exchange administrators can manage Exchange ActiveSync by enabling or disabling it for selected or all user mailboxes, and here we are going to discuss the same in detail.

Ways to Enable/Disable Exchange ActiveSync

We have two manual ways to enable or disable the Exchange ActiveSync for the user mailboxes in an Exchange organization:

  • Via Exchange Admin Center
  • Via Exchange Management Shell

Enable/Disable Exchange ActiveSync with Exchange Admin Center

Learn the process of enabling and disabling Exchange ActiveSync for Exchange user mailboxes with Exchange Admin Center interface with the following steps.

  1. Log in to your Exchange Admin Center with the Exchange administrator credentials.
  2. Click on the “recipients” option from the left panel and then click on the “mailboxes” category.
  3. From the list of the mailboxes, select the user mailbox for which you want to enable/disable ActiveSync.
    Note: You can search for the particular user mailbox using the Search option. Users can also go for Advanced Search of mailboxes by following More options>Advanced Search.
  4. After selecting the mailbox, click on the “Edit” option.
  5. Click on the “mailbox features” category from the left panel.
  6. Now, move to the left panel and scroll to the Mobile Devices section. From there, click the available link “Enable Exchange ActiveSync” or “Disable Exchange ActiveSync” and then finally, click on “Save” to save this setting.
  7. Hence, the process of enabling or disabling Exchange ActiveSync is completed.

For enabling/disabling ActiveSync for multiple Exchange user mailboxes, use the Shift and Ctrl keys to select multiple mailboxes after following recipients>mailboxes in the Exchange Admin Center. Then go to the Bulk Edit Details pane, look out for the “Exchange ActiveSync” section, and then select the “Enable/Disable” option from there. Finally, click “OK” to effect changes.

Exchange administrators can always check which mailboxes have Exchange ActiveSync enabled by navigating to mailboxes>recipients, selecting the mailbox, clicking on the “Edit” option, selecting the “mailbox features” category from the left panel, scrolling to the “Mobile Devices” section, and checking the existing status for Exchange ActiveSync. If it shows “Disable Exchange ActiveSync”, then the mailbox has Exchange Active Sync enabled and vice-versa.

Enable/Disable Exchange ActiveSync with Exchange Management Shell

Using the Exchange Management Shell command also, it is possible to enable or disable the Exchange ActiveSync feature for Exchange user mailboxes.

Run the Exchange Management Shell application on your system as an administrator.

Execute the following command to enable Exchange ActiveSync for a particular Exchange user mailbox.

Set-CasMailbox -Identity “mailbox name” -ActiveSyncEnabled $true

Provide the user mailbox name at the bold place in the above command and enable the Exchange ActiveSync feature.

Now, to disable the Exchange ActiveSync feature for a particular user mailbox, follow this command.

Set-CasMailbox -Identity “mailbox name” -ActiveSyncEnabled $false

For enabling Exchange ActiveSync for all mailboxes within a particular department in a state or province, use this command.

Get-User -Filter “RecipientType -eq ‘UserMailbox’ -and Department -like ‘department name*’ -and StateOrProvince -eq ‘state or province name'” | Set-CasMailbox -ActiveSyncEnabled $false

To disable the Exchange ActiveSync for all mailboxes for the same department, just use the true parameter in place of false.

Get-User -Filter “RecipientType -eq ‘UserMailbox’ -and Department -like ‘department name*’ -and StateOrProvince -eq ‘state or province name'” | Set-CasMailbox -ActiveSyncEnabled $true

Exchange administrators can also use a .txt file with mailbox information (including email address and name in a row) to enable or disable the ActiveSync feature for the included mailboxes. Here is the command.

Get-Content “Txt file path location” | foreach {Set-CasMailbox $_ -ActiveSyncEnabled $false}

Check for all the user mailboxes for which the Exchange ActiveSync is enabled or disabled with these commands,
For Exchange ActiveSync disabled mailboxes:

Get-CasMailbox -ResultSize unlimited -Filter “ActiveSyncEnabled -eq `$false”

For Exchange ActiveSync enabled mailboxes:

Get-CasMailbox -ResultSize unlimited -Filter “ActiveSyncEnabled -eq `$true”

Therefore we have discussed all the possible native ways to enable or disable the Exchange ActiveSync for Exchange user mailboxes.

Final Words

Exchange Server mailbox information is stored in its database file known as EDB file, and its security is crucial. Due to unfortunate reasons like Exchange Server crashes, malicious software, bad registry entries, sudden system shutdown, etc., the file becomes corrupted, and thus Exchange information becomes inaccessible. For such situations, we bring you the advanced Kernel for Exchange Server tool, which delivers quick recovery of Exchange mailbox data after repairing even severely corrupted EDB files easily. The tool integrates a simple user interface and minimum steps for easy recovery of mailboxes. It allows users to save retrieved content to multiple formats and destinations. It also allows to export offline EDB file to Office 365. Detailed information about the tool is available on the website
https://www.kerneldatarecovery.com/exchange-server-recovery.html

Download