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

Does Azure Analysis Services support service principal signon to 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。这意味着我需要在两个不同的地方定义 user/password:在 SQL Azure 以及此连接字符串中。

我想使用服务主体而不是 SQL 用户。有没有人这样做过?

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

The JSON DDL request failed with the following error: Failed to execute XMLA. Error returned: 'Unable to load adalsql.dll >> (Authentication=ActiveDirectoryPassword)

所以before我进行进一步调查,以前有人这样做过吗?出现错误消息表明尚未安装此关键库。

我之前有一些使用服务主体的经验。我必须连接到 AAS 并使用服务主体使用 Azure 自动化处理数据库。这里有一些背景:

我认为它不支持 AAS。我们计划扩展 SQL 驱动程序以支持通过交互对话框请求密码的交互模式。 你也可以试试 MSI 到 Azure SQL(来自 Windows VM):https://docs.microsoft.com/azure/active-directory/msi-tutorial-windows-vm-access-sql 虽然这不是你要找的。

Mirek Sztajno,高级 PM SQL 数据平台