【发布时间】: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 的贡献者角色。
任何线索!!!!
【问题讨论】:
-
哦.. 忘记了在 synapse 无服务器池中为外部提供者创建用户并分配相关数据库角色的步骤。现在一切都好。
-
希望这对文档有所帮助 - docs.microsoft.com/en-us/azure/data-factory/…
标签: azure azure-data-factory-2 azure-synapse