How to enable or disable Exchange ActiveSync access to mailboxes in Microsoft 365?
Exchange ActiveSync (EAS) is a protocol that enables mobile devices to synchronize email, calendar, contacts, and tasks with Exchange Online. Managing Exchange ActiveSync access is essential for maintaining data security policies and ensuring users have appropriate mobile access.
Follow these steps to enable or disable Exchange ActiveSync access to a mailbox for a mobile device.
- Sign in to the Exchange Online admin center and navigate to .
- Under , you will find the Mobile (Exchange ActiveSync). option. You can enable or disable it by clicking the toggle.
Enable or disable Exchange ActiveSync for a mailbox in EXO using PowerShell
You can utilize the following PowerShell cmdlets to efficiently enable or disable EAS for a mailbox in Exchange Online.
# Connect to Exchange Online PowerShell module.
Connect-ExchangeOnline
# To enable Exchange ActiveSync access to mailbox in Exchange Online.
Set-CASMailbox -Identity user@domain.com -ActiveSyncEnabled $true
# To disable Exchange ActiveSync access to mailbox in Exchange Online.
Set-CASMailbox -Identity user@domain.com -ActiveSyncEnabled $false