Configure Basic Authentication for Autodiscover

Basic Authentication will be enabled for Autodiscover.

Procedure-related prerequisites

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


  1. Run the following commands:
# List all Autodiscover virtual directories

# Find out whether Basic Authentication is enabled
Get-AutodiscoverVirtualDirectory | `
  fl BasicAuthentication

# Enable Basic Authentication
Set-AutodiscoverVirtualDirectory `
  -Identity "Autodiscover (Default Web Site)" `

# Restart IIS to ensure these changes are active
iisreset /timeout:120 /noforce