Disable OWA for All On-Premise Exchange Users

Type this command in PowerShell on on-premise Exchange to disable OWA for all mailboxes:

get-casmailbox | set-casmailbox -OwaEnabled $false

You can re-enable OWA for individual mailboxes by running the following command:

 get-casmailbox -identity (username) | set-casmailbox -OwaEnabled $true

Have used on Exchange 2007, 2010, 2013, 2016.

Leave a Reply

Your email address will not be published. Required fields are marked *