使用触发器运行时从 ADLS gen2 读取突触身份验证错误

问题描述 投票:0回答:1

我在 azure synapse 中有一个笔记本,用于从存储帐户 ADLS gen2 读取数据。当我直接运行笔记本时,笔记本运行良好,但是当我尝试从管道调用笔记本时,出现此错误。与直接运行笔记本时相比,管道运行是否使用不同的授权?谢谢

An error occurred while calling o3571.load.
: java.nio.file.AccessDeniedException: Operation failed: "This request is not authorized to perform this operation using this permission.
azure-synapse
1个回答
0
投票

调用 o3571.load 时发生错误。 java.nio.file.AccessDeniedException:操作失败:“此请求无权使用此权限执行此操作。

该错误表示由于权限不足,您尝试执行的操作未获得授权。

要使用配置了 ADLS Gen2 作为默认存储的 Synapse Analytics 工作区,您必须拥有 ADLS Gen2 文件系统的

Storage Blob Data Contributor role

我已使用以下步骤进行分配:

第 1 步: 转到 Synapse Workspace 资源并转到 访问控制 (IAM)

第2步:

Storage Blob Data Contributor role
enter image description here 步骤 3:向您的突触工作区授予访问存储Blob 贡献者角色 enter image description here

结果:

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.