If you need to disable OWA access to all user In your organization In one go or In bulk, you can use Exchange Powershell.
Note: This process will work on Exchange Server 2016.
To disable OWA open Exchange managment Shell (EMS) and type:
Get-Mailbox -ResultSize unlimited |Set-CASMailbox -OWAEnabled $false
To enable it back to all users type:
Get-Mailbox -ResultSize unlimited |Set-CASMailbox -OWAEnabled $true
The change will happen immediately and will be disabled or enabled on all mailboxes.
Processing…
Success! You're on the list.
Whoops! There was an error and we couldn't process your subscription. Please reload the page and try again.