[英]Can you use a sql server alias to connect to azure using active directory integrated authentication?
We are currently migrating to Azure managed instances.我们目前正在迁移到 Azure 托管实例。 All of our SSIS packages use server alias to connect so if we need to quickly repoint a package to another server we just change what the alias points to on the execution server.
我们所有的 SSIS 包都使用服务器别名进行连接,因此如果我们需要快速将包重新指向另一台服务器,我们只需更改别名在执行服务器上指向的内容。
Unfortunately this doesn't seem to be working for azure MI.不幸的是,这似乎不适用于 azure MI。 I can create the alias but then when I attempt to connect to the server via SSMS I get the below error message.
我可以创建别名,但是当我尝试通过 SSMS 连接到服务器时,我收到以下错误消息。
TITLE: Connect to Server
------------------------------
Cannot connect to BRHTEST.
------------------------------
ADDITIONAL INFORMATION:
Cannot open server "BRHTEST" requested by the login. The login failed. (Microsoft SQL Server, Error: 40532)
For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&EvtSrc=MSSQLServer&EvtID=40532&LinkId=20476
------------------------------
BUTTONS:
OK
------------------------------
If I go into the details of the error I can see the below which has the correct server address I put in the alias.如果我进入错误的详细信息,我可以看到下面的内容,其中包含我放入别名的正确服务器地址。
Server Name: XXXXX.XXXXXXXXX.database.windows.net
Error Number: 40532
Severity: 20
State: 1
Is it not possible to use an alias to connect to an Azure MI using azure active directory integrated?使用集成的 azure 活动目录是否无法使用别名连接到 Azure MI?
I searched and found that only Azure SQL database and Azure Synapse Analytics (SQL DW) support DNS alias :我搜索发现只有 Azure SQL 数据库和 Azure Synapse Analytics (SQL DW) 支持DNS 别名:
We could not find more details about server alias in Azure Managed instance document, we will consider it's not supported usually.我们无法在 Azure 托管实例文档中找到有关服务器别名的更多详细信息,我们会认为它通常不受支持。
It's not possible to use an alias to connect to an Azure MI using azure active directory integrated使用集成的 azure 活动目录无法使用别名连接到 Azure MI
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.