【发布时间】:2021-12-21 23:14:29
【问题描述】:
我想通过 Azure 管道复制 Azure 文件复制文件。
我正在使用名为“My Sandbox (a1111e1-d30e-4e02-b047-ef6a5e901111)”的自动创建的服务连接
AzureBlob 文件复制出现错误:
INFO: Authentication failed, it is either not correct, or
expired, or does not have the correct permission ->
github.com/Azure/azure-storage-blob-go/azblob.newStorageError,
/home/vsts/go/pkg/mod/github.com/!azure/azure-storage-blob-
go@v0.10.1-0.20201022074806-
8d8fc11be726/azblob/zc_storage_error.go:42
RESPONSE Status: 403 This request is not authorized to perform
this operation using this permission.
我假设 Azure Pipeline 无权访问 Azure 存储。 我想知道如何找到应该访问 Azure 存储的服务主体。
【问题讨论】:
-
博主在 Azure 文件复制任务版本
4.*中出现同样的错误,在版本3.*中有效,您尝试过吗?
标签: azure-devops azure-storage