Data Factory Blob Storage Linked Service with Managed Identity : The remote server returned an error: (403)

Data Factory Blob Storage Linked Service with Managed Identity : The remote server returned an error: (403)

我已经使用托管标识创建了到存储帐户的链接服务连接,并且它成功验证,但是当我尝试在数据集上使用链接服务时,出现错误:

A storage operation failed with the following error 'The remote server returned an error: (403)

当我尝试浏览 blob 以设置文件路径时显示错误。

已为数据工厂的托管标识分配参与者角色。

blob 容器设置为私有访问。

有人知道我是怎么做到的吗?

原来我用错角色了。只需要为 存储 Blob 数据贡献者。