Configure Basic Authentication for Outlook Anywhere

Basic Authentication will be enabled for Outlook Anywhere.

Procedure-related prerequisites

  • You need to run the commands with administrative permissions. Open the Exchange Management Shell via Run as administrator.

Instruction

  1. Run the following commands:
copy
# List all OutlookAnywhere virtual directories
Get-OutlookAnywhere

# Find out whether Basic Authentication is enabled
Get-OutlookAnywhere | `
  fl InternalClientAuthenticationMethod, `
  ExternalClientAuthenticationMethod, `
  IISAuthenticationMethods
 
# Enable Basic Authentication
Set-OutlookAnywhere `
  -Identity "Rpc (Default Web Site)" `
  -InternalClientAuthenticationMethod Basic ` 
  -ExternalClientAuthenticationMethod Basic ` 
  -IISAuthenticationMethods Basic, Ntlm, Negotiate
 
# List all MAPI virtual directories
Get-MapiVirtualDirectory 

# Find out whether Basic Authentication is enabled 
Get-MapiVirtualDirectory | `
  fl IISAuthenticationMethods
 
# Enable Basic Authentication 
Set-MapiVirtualDirectory `
  -Identity "mapi (Default Web Site)" `
  -IISAuthenticationMethods NTLM, Negotiate, Basic
 
# Restart IIS to ensure these changes are active 
iisreset /timeout:120 /noforce