Enabling AD FS authentication on the OWA and ECP virtual directories

For the OWA and Exchange Control Panel (ECP) virtual directories, enable AD FS authentication as the only authentication method. Disable all other types of authentication.
You must first configure the ECP virtual directory and then configure the OWA virtual directory.