Outlook Web App is the browser version of the Mailbox. One could open their email on a browser rather than downloading the Outlook Client on their Computer. This has got it’s pros and cons. It is normally enabled by default for an Organization. Nowadays many Organizations are considering disabling the Outlook Web App Feature. The reason for this is due to security concerns. When one tries to access Outlook using the Outlook Web App on a public computer, there is a potential risk of login credentials getting exposed.
In order to Disable the Outlook Web App feature for a user, it can be done in two ways-
- Exchange Admin Center
- Power Shell
In the Exchange Admin Center, one would have to follow these steps-
- Click on Recipients
- Activate the Mailboxes tab
- Select the Mailbox which you would like to disable the Outlook Web App Feature.
- Click on the Pencil Icon
- A new Window would pop up. Now click on Mailbox Features.
- Under Email Connectivity, click Disable.
This can be also done on the page where you would get the list of mailboxes. The Steps are as follows-
- Launch the Exchange Admin Center.
- Click on Recipients.
- Activate the Mailbox Tab.
- Select the Mailbox which you would like to disable the Outlook Web App Feature.
- On the Right Pane under Email Connectivity, click Disable.
Power Shell can also be used to Disable a Mailbox on a Per- User Basis.
For Example if we want to disable Outlook Web App (OWA) for a Mailbox with the Primary Email Address as abc@gmail.com . The Power Shell Cmdlet for disabling OWA would be-
Set-CasMailbox abc@gmail.com -OwaEnabled $False
where
Cas in ‘CasMailbox’ stands for Client Access Server
The Name of the cmdlet is Set-CasMailbox. The reason we are applying the “Set” Action on the Mailbox is because we want to modify the existing properties of the Mailbox.
The Parameter applied to the cmdlet is ‘OWAEnabled’. It has two possible values- $true and $false. If the parameter is set to $True, it means that Outlook Web App is Enabled and if the parameter is set to $False, it means that Outlook Web App has been disabled.
The Advantages of using PowerShell over the GUI is that the action can be applied to multiple Mailboxes at once. For Example we can write a command to disable OWA for the Entire Organization. The Power Shell cmdlet would be-
Get-Mailbox -ResultSize Unlimited -Filter {RecipientTypeDetails -eq “UserMailbox”} | Set-CasMailbox -OwaEnabled $False
Here we are using two cmdlets. The result of the First Cmdlet is given as an Input to the Second cmdlet. The first cmdlet ‘Get-Mailbox’ retrieves all the Mailboxes in the Organization. The Second cmdlet ‘Set-CasMailbox’ is used to Disable OWA for all the Mailboxes obtained from Get-Mailbox