【问题标题】:Azure Data Factory Linked service to Synapse Serverless Pool through Service PrincipalAzure 数据工厂通过服务主体将服务链接到 Synapse 无服务器池
【发布时间】:2021-05-27 09:20:42
【问题描述】:

我正在尝试使用服务主体连接到 Synapse 无服务器池,但在我的 Azure 数据工厂管道中出现以下错误。

Cannot connect to SQL Database: 'xxxxx-ondemand.sql.azuresynapse.net', Database: 'synapse_od', User: ''. Check the linked service configuration is correct, and make sure the SQL Database firewall allows the integration runtime to access.
Login failed for user '<token-identified principal>'., SqlErrorNumber=18456,Class=14,State=1,
Activity ID: 2516df76-0215-4f27-990d-3c4654a07704.
**This may happen if your data source only allows secured connections. If that's the case, please use a VNet integration runtime**.

但可以使用 SQL 身份验证愉快地连接。

服务主体被授予 Synapse 的贡献者角色。

任何线索!!!!

【问题讨论】:

标签: azure azure-data-factory-2 azure-synapse


【解决方案1】:

在我执行以下步骤之后。具有服务主体身份验证类型的链接服务工作正常。

CREATE USER [ad_user_name] FROM EXTERNAL PROVIDER;


EXEC sp_addrolemember db_owner, [ad_user_name];

【讨论】:

    猜你喜欢
    • 2021-06-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-12-01
    • 1970-01-01
    • 2019-05-09
    • 2017-11-18
    相关资源
    最近更新 更多