简体   繁体   English

使用域服务帐户在本地 SQL 服务器到 Azure SQL 数据库中创建链接服务器

[英]Create a Linked Server in On-Prem SQL Server to Azure SQL Database using Domain Service Account

I am trying to connect from a On Prem SQL Server to an Azure SQL Database.我正在尝试从本地 SQL 服务器连接到 Azure SQL 数据库。 We are able to telnet & connect directly but when trying to create a Linked Server it fails if we use Domain Authentication.我们可以直接 telnet 和连接,但是在尝试创建链接服务器时,如果我们使用域身份验证,它会失败。 This works great using SQL Login.使用 SQL 登录非常有效。

I scrambled across multiple documentation but couldn't find much for authentication using a Domain Service Account.我翻阅了多个文档,但找不到太多使用域服务帐户进行身份验证的内容。

Would someone know if this works & any documentation on the setup will be helpful.有人会知道这是否可行并且有关设置的任何文档都会有所帮助。 Thanks谢谢

Thank you @Conor Cunningham MSFT for the comment, posting it as the answer.感谢@Conor Cunningham MSFT 的评论,并将其作为答案发布。

SQL DB doesn't support domain authentication as it is not part of your domain and Linked servers don't directly take AAD auth, you will have to supply a password as well. SQL DB 不支持域身份验证,因为它不属于您的域并且链接服务器不直接进行 AAD 身份验证,您还必须提供密码。

Refer to this document for more information.有关详细信息,请参阅本文档

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 迁移on-prem SQL服务器数据库到Azure SQL数据库 - Migrate on-prem SQL Server database to Azure SQL database 如何使用服务帐户(不是我自己的 AD 帐户)使用 pyodbc 连接到本地 SQL 服务器 - How to I connect to an On-Prem SQL server using pyodbc using a Service Account (not my own AD account) 将本地数据库从本地 SQL Server 上传到 Azure - Uploading local database from SQL Server on-prem to Azure 将视图从 SQL Server(本地)复制到 Azure SQL Server - Replication a view from SQL Server (on-prem) to Azure SQL Server 将本地 SQL Server 数据库持续同步到 Azure SQL 实例数据库? - Continuously sync an on-prem SQL Server database to an Azure SQL Instance database? 通过 Azure Databricks 连接到本地 SQL Server - Connecting to on-prem SQL Server through Azure Databricks Azure 与传统的本地 SQL Server 数据库中是否存在数据库备份/还原? - Database Backup/Restore exists in Azure Vs Traditional on-prem SQL Server database? 从 Azure 连接到 SQL 服务器托管在本地 - Connect to SQL Server hosted on-prem from Azure 将SQL Server(本地)连接到Powerapps - Connecting SQL Server (On-prem) to Powerapps Azure 托管标识是否支持本地 MS SQL 数据库? - Does Azure Managed Identity support on-prem MS SQL Database?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM