asked on
Exchange 2016 (DAG) ECP ( 400) BAD Request error
make sure that the authentication methods used by OWA and ECP are matching this is done by running the following
> Get-owavirtualdirectory | fl
make sure that you using “Form based Authentication” and “Basic Authentication”
do the same with ECP using the following command line
> Get-ECPVirtualDirectory | fl
If not then you just need to reconfigure the Authentications on both Virtual Directories, DONNOT use IIS use Exchange Management Shell.
For owa use the following
>Set-owavirtualdirectory -identity “owa <Default Web site>” -FormsAuthentication:$true
use the same also for ECP
>Set-ecpvirtualdirectory -identity “ecp <Default Web site>” -FormsAuthentication:$true
then restart your iis services using the following
>iisreset
once finished try to access your ECP page again and it should work now
You may also try:
- Login to your Exchange 2016 CAS server
- Start the Exchange Management Shell
- Navigate to your Exchange 2016 binaries location, for example:C:\Program Files\Microsoft\Exchange Server\V15\Bin\
- Execute the UpdateCas.ps1 Windows PowerShell script and wait a few moments.
This script will rebuild your OWA interface.
Open in new window
Try disabling form based auth as well.