Using windows authentication with Azure WebApp/Website

。_饼干妹妹 提交于 2019-12-01 17:44:29

问题


We have an Active Directory domain sitting on a networked Azure VM and have a separate Azure WebApp/Website that is running Orchard CMS on the same virtual network.

Do webapps support windows authentication for connecting to Active Directory? If so, how do I go about setting it up in IIS?


回答1:


No, it's not possible. In order to have Windows Authentication is something for on-premise deployments. For Azure Web Sites Azure Active Directory is clearly the best option. Sync from AD to Azure Active Directory is also quite easy to setup.

If you still want to absolutely use Windows Auth and host your website on Azure, you can create Windows VM and host your website there. You then need to join the VM to your AD. To this, both VMs must be in the same network. So if your VM is on-premise you will need to create an site-to-site VPN




回答2:


Yes, you can connect your web app to Azure Active Directory.

The simplest option is Azure Easy Authentication

http://azure.microsoft.com/en-us/documentation/videos/azure-websites-easy-authentication-and-authorization-with-chris-gillum/.

That's a one click way to authenticate your site.




回答3:


You could setup Active Directory Federation Services for Windows AD, and use SAML or OpenID Connect. It would prompt the user for their windows credentials



来源:https://stackoverflow.com/questions/31157623/using-windows-authentication-with-azure-webapp-website

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!