Search code examples
c#azure-active-directoryws-federation

How to Implement ws-federation azure ad authentication c# web application


I am new to azure and I wanted to implement azure AD WS-Federation authentication for my application which is hosted in azure app service.

Application Details: ASP.NET web application (.NET version 4.7.2)

Can you please help me with the process.

Thanks in advance.


Solution

    • We can add the Identity provider from the Azure Portal in Azure Active Directory

    Navigate to the Azure portal =>Azure Active Directory => External Identities => New SAML/WS-Fed IdP

    Follow this MSDoc to configure Federating Identity Provider

    enter image description here

    • You need to ensure that you have configured Active Directory Federation services server in on-premises environment for the domain which we need to federate with Azure AD
    • Also ensure , for this purpose you need to synchronize your on-premise AD to Azure AD

    Please refer Federation with a SAML/WS-Fed identity provider (IdP) for B2B - Azure AD for more information