使用REST API将blob复制到另一个存储帐户会产生404错误

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

在逻辑应用程序中,我使用Blob Service Rest API在不同帐户之间复制blob。

我在源URL和目标URL上都有SAS签名。不确定我做错了什么。

enter image description here

更新

目标URL(使用SAS)从Dynamics 365端点获取。它回来与2014-02-14的sv值。这可能是问题(sv太老了,如评论中所建议的那样)?

我设法通过读取源blob的内容并使用该内容(Put Blob)在目标URL处创建blob,以不同的方式复制blob。

enter image description here

azure azure-storage azure-storage-blobs
1个回答
2
投票

一些信息供您参考。

我在门户网站中生成SAS令牌,并将存储帐户A中的blob复制到B,我在logicapp中测试它,它工作正常。

你的生日:

enter image description here

请求网址:

Put https://storageB.blob.core.windows.net/containername/testcopy1?sv=2017-11-09&ss=bfqt&srt=sco&sp=rwdlacup&se=2018-08-27T10:43:40Z&st=2018-08-27T02:43:40Z&spr=https&sig=xxxxxxx

请求标题:

x-ms-copy-source:https://storageA.blob.core.windows.net/containername/2.5.txt?sv=2017-11-09&ss=bfqt&srt=sco&sp=rwdlacup&se=2018-08-27T10:59:19Z&st=2018-08-27T02:59:19Z&spr=https&sig=xxxxxx

在LogicApp中:

enter image description here

检查门户网站:

enter image description here

更新:

我认为这显然是问题所在。

请参阅:version mentioned in the article

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