Azure sql database Azure Analysis Services是否支持服务主体登录到SQL Azure

Azure sql database Azure Analysis Services是否支持服务主体登录到SQL Azure,azure-sql-database,azure-automation,azure-analysis-services,Azure Sql Database,Azure Automation,Azure Analysis Services,我有一个Azure Analysis Services模型正在使用以下连接字符串从SQL Azure读取数据: Data Source=MySQLAzureDB.database.windows.net; Initial Catalog=MyDB;Persist Security Info=true; User ID=MyUser;Password=MyPWD; Encrypt=True;Authentication=Sql Password 这将使用SQL用户连接到SQL Azure。这意味

我有一个Azure Analysis Services模型正在使用以下连接字符串从SQL Azure读取数据:

Data Source=MySQLAzureDB.database.windows.net;
Initial Catalog=MyDB;Persist Security Info=true;
User ID=MyUser;Password=MyPWD;
Encrypt=True;Authentication=Sql Password
这将使用SQL用户连接到SQL Azure。这意味着我需要在两个不同的位置定义用户/密码:在SQLAzure中以及在这个连接字符串中

我希望使用服务主体而不是SQL用户。以前有人这样做过吗

我尝试过使用不同的连接类型,但这是AAS在我的连接字符串中使用
Authentication=ActiveDirectoryPassword
时的典型错误:

Data Source=MySQLAzureDB.database.windows.net;
Initial Catalog=MyDB;Persist Security Info=true;
User ID=MyUser;Password=MyPWD;
Encrypt=True;Authentication=Sql Password
JSON DDL请求失败,出现以下错误:无法执行XMLA。返回错误:“无法加载adalsql.dll>>(身份验证=ActiveDirectoryPassword)

那么在我进行进一步调查之前,有人做过这件事吗?出现错误消息,表明尚未安装此关键库

我以前有一些使用服务主体的经验。我必须连接到AAS,并使用服务主体使用Azure Automation处理数据库。关于这方面的一些背景:


我认为AAS不支持它。我们计划扩展SQL驱动程序,以支持通过交互式对话框请求密码的交互式模式。 你也可以试试 MSI到Azure SQL(从Windows VM): 虽然这不是你想要的

Mirek Sztajno,高级PM SQL数据平台