How to fix "There was an error parsing WS-Trust response from the endpoint"?
Issue Description: When using Integrated Windows Authentication (IWA) from Office 365 Scope, the following error is thrown when trying to authenticate
Full Error In Text:
Message: An error occurred sending the request.
---> RemoteException wrapping Microsoft.Identity.Client.MsalClientException: There was an error parsing WS-Trust response from the endpoint. This may occur if there is an issue with your ADFS configuration. See https://aka.ms/msal-net-iwa-troubleshooting for more details.
Root Cause: This can happen due to the following reasons
Azure App Registration has Public Client Flow Disabled
Other Federation service than Active Directory Federation Services (ADFS) is being used
ADFS is only partially configured
Resolution:
Azure App Registration has Public Client Flow Disabled