Setting up Basic Authentication in Exchange

  • 7020305
  • 02-Feb-2015
  • 28-Aug-2017

Environment

Retain 3.x
Exchange Module

Situation

Is a way to set up Basic Authentication across the Exchange system from the Exchange Admin Center instead of going to each CAS IIS individually?

Resolution

Exchange 2013 Exchange Admin Center

Within the Exchange Admin Center (ecp) there are options for setting Basic Authentication that will propagate through the entire Exchange system.

Go to Servers/Virtual Directories and do this for Autodiscover and EWS


  • Select the pencil to edit
  • Select Authentication and check Basic authentication to enable that option.


Exchange 2010 & 2013 Exchange Management Shell

You can verify that the settings were properly enabled with this kb: Determining if Basic Authentication Is Enabled on Your Network

You can modify these values from the Exchange Management Shell.

For EWS use the script of the form:

Set-WebServicesVirtualDirectory -Identity <VirtualDirectoryIdParameter> [-BasicAuthentication <$true | $false>]


Example:

Set-WebServicesVirtualDirectory -Identity "EWS (Default Web Site)" -BasicAuthentication $true


For autodiscover use the script of the form:

Set-AutodiscoverVirtualDirectory -Identity <VirtualDirectoryIdParameter> [-BasicAuthentication <$true | $false>]


Example:

Set-AutodiscoverVirtualDirectory -Identity 'autodiscover (Default Web Site)' -BasicAuthentication $true


Resetting IIS

It may be necessary to reset IIS for the new setting to take. Restarting IIS
 

Additional Information

This article was originally published in the GWAVA knowledgebase as article ID 2457.