Using windows authentication with Azure WebApp/Web

2020-02-14 02:05发布

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?

3条回答
Rolldiameter
2楼-- · 2020-02-14 02:29

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

查看更多
冷血范
3楼-- · 2020-02-14 02:32

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

查看更多
够拽才男人
4楼-- · 2020-02-14 02:36

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.

查看更多
登录 后发表回答