Configure Basic Authentication for Offline addressbook

Basic Authentication will be enabled for Offline addressbook.

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 OAB virtual directories
Get-OabVirtualDirectory

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

# Enable Basic Authentication
Set-OabVirtualDirectory `
  -Identity "OAB (Default Web Site)" `
  -BasicAuthentication:$True

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