Disabling Outlook Web App for a User in Microsoft Exchange

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-

  1. Exchange Admin Center
  2. Power Shell

In the Exchange Admin Center, one would have to follow these steps-

Screenshot (79).png

  1. Click on Recipients
  2. Activate the Mailboxes tab
  3. Select the Mailbox which you would like to disable the Outlook Web App Feature.
  4. Click on the Pencil Icon
  5. A new Window would pop up. Now click on Mailbox Features.screenshot-80
  6. 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-

  1. Launch the Exchange Admin Center.
  2. Click on Recipients.
  3. Activate the Mailbox Tab.Screenshot (81).png
  4. Select the Mailbox which you would like to disable the Outlook Web App Feature.
  5. 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

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s