Ted Nyberg
Ted Nyberg

Reputation: 7391

ActiveDirectoryMembershipProvider with Azure Active Directory

I realize there are other (preferred) ways of implementing authentication with Azure Active Directory, but is it possible to use the standard ActiveDirectoryMembershipProvider with Azure Active Directory for an Azure website?

Upvotes: 2

Views: 1048

Answers (1)

astaykov
astaykov

Reputation: 30903

No. There is no way to use ActiveDirectoryMembershipProvider with Azure Active Directory. . (Period) :)

Why?

ActiveDirectoryMambershipProvider uses Active Directory Application Mode (ADAM) server and talks to AD over LDAP protocol. Both of which are not supported by Azure AD. The replacement of LDAP in the Cloud is Azure AD Graph API.

You can however use the Claims Based Authentication / Authorization model and protect your web site with Azure AD. This will help with Authentication. Authorization - you can use the role based access control and have your Azure AD groups translated into ASP.NET roles.

Here is pretty long and well described process of how to protect a web site with Azure AD without writing single line of custom code.

Upvotes: 4

Related Questions