How to enable or disable Outlook Anywhere (RPC over HTTP) for a specific user

If you need to enable or disable Outlook Anywhere (or RPC over HTTP) for a specific user on your Exchange server, here’s how.

Open the Exchange Management Shell.

Use the following command to enable (replacing tony@contoso.com with the specific user’s e-mail address):

Set-CASMailbox tony@contoso.com -MAPIBlockOutlookRpcHttp $false

Use the following command to disable (replacing tony@contoso.com with the specific user’s e-mail address):

Set-CASMailbox tony@contoso.com -MAPIBlockOutlookRpcHttp $true

For more information, see Microsoft’s article on the commandlet Set-CASMailbox.