Search code examples
.netasp.net-mvcazure-active-directoryazure-ad-b2csimplemembership

Simplest way to enable Azure AD FS in a .NET application using Simplemembership


We have a .Net MVC web application using Simplemembership that one of our clients wants to use with Azure AD FS for authenticating his employees and collaborators. I'm looking for the simplest way to make that possible.

On principle, replacing Simplemembership is absolutely required for this task, isn't it?

As far as I understand, integrating Azure AD B2C would be a good way to upgrade our authentication process but would require us to introduce OWIN. Would that be a good solution or should I look at something different?


Solution

  • Some confusion here around terms.

    Do you mean ADFS (Active Directory Federation Services)? That's on-prem. There's no such thing as Azure ADFS.

    B2C will work and you can federate that with ADFS.

    Your app. will have to use the MSAL library to authenticate.

    And yes, you would replace Simplemembership.