简体   繁体   中英

ActiveDirectoryMembershipProvider with Azure Active Directory

我意识到还有其他(首选)方法可与Azure Active Directory实施身份验证,但是可以将标准ActiveDirectoryMembershipProviderAzure Active Directory一起用于Azure网站吗?

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM