问题
I need to connect my web app on Azure to our on site SQL Server instance via Windows authentication (not via SQL Server account authentication). Active Directory is already integrated with the on-site AD and therefore all of the users are available there.
My question is, is it possible to hook up an azure web app to an on-site SQL Server via Windows authentication.
回答1:
is it possible to hook up an azure web app to an on-site SQL Server via Windows authentication.
Base on my option, it maybe that we couldn’t do that. As we have been limited to do that operation for azure WebApp. There is also another SO thread mentioned that.
If we want to connect to on premise SQL Server, we can use hybrid connections to access on-premises SQL server database in Azure WebApp, more info please refer to the document.
If we want to authenticate the WebApp with local Active Directory, and we have an on-premises secure token service (STS) like Active Directory Federation Services (AD FS), we could use that to federate authentication for our Azure WebApp. More info please refer to the document.
回答2:
Hybrid connections at this time does not support AD accounts due to
because you cannot domain join an App Service worker
回答3:
It's possible with azure sql v12 I guess See this link for more details https://docs.microsoft.com/en-us/azure/sql-database/sql-database-aad-authentication
来源:https://stackoverflow.com/questions/41068646/azure-web-app-with-on-site-sql-server-and-windows-authentication