The FBA page is displayed when a user accesses Outlook Web App or EAC to sign in to Exchange Server 2016 and 2013
Article
Applies to:
Exchange Server 2016 Enterprise Edition, Exchange Server 2016 Standard Edition, Exchange Server 2013 Standard Edition, Exchange Server 2013 Enterprise
Original KB number: 2871485
Symptoms
In Microsoft Exchange Server 2013, you have forms-based authentication (FBA) disabled for Outlook Web App (Outlook Web App) and Exchange admin center (EAC). Additionally, you have either Windows Integrated or Basic Authentication enabled. After you upgrade Exchange Server 2013 to a newer build, the FBA page is displayed when a user accesses Outlook Web App or EAC. Additionally, the FBA page continues to appear even after the user provides valid credentials.
This issue also occurs in Exchange Server 2016.
Cause
This problem occurs because the upgrade process copies the default Web.config file over the existing, customized Web.config file. This results in all existing settings being lost. This includes the HTTP module settings.
Workaround
To work around this problem, reconfigure the desired authentication mechanism on the Outlook Web App or EAC virtual directories. To do this, follow these steps:
Note
These steps will reconfigure Windows Integrated Authentication on OWA and EAC virtual directories by using the Exchange Management Shell.
Review the authentication configuration. To do this, run the appropriate command:
For Outlook Web App, run the following command:
PowerShell
Get-OwaVirtualDirectory -Server exch3 | fl *auth*
For EAC, run the following command:
PowerShell
Get-EcpVirtualDirectory -Server exch3 | fl *auth*
Run the appropriate command to disable FBA and to enable Windows-Integrated Authentication:
For Outlook Web App, run the following command:
PowerShell
Set-OwaVirtualDirectory -Identity"EXCH3\owa (Default Web Site)" -FormsAuthentication$false -WindowsAuthentication$true
For EAC, run the following command:
PowerShell
Set-EcpVirtualDirectory -Identity"EXCH3\ECP (Default Web Site)" -FormsAuthentication$false -WindowsAuthentication$true
Run IISReset to restart Internet Information Services (IIS).
To retrieve the settings of Microsoft Office Outlook Web App virtual directories on a computer that is running Exchange Server 2013 and that has the Client Access server role installed, run the command:
PowerShell
Get-OwaVirtualDirectory -Server exch3 | fl *auth*
Here is an example of the results that are returned by the command:
See Get-OwaVirtualDirectory, for information about how to retrieve all Office Outlook Web App virtual directories on a computer that is running Microsoft Exchange Server 2013 and that has the Client Access server role installed.
See Set-EcpVirtualDirectory for information about how to change the properties of an EAC virtual directory.