在逻辑应用程序中,我使用Blob Service Rest API在不同帐户之间复制blob。
我在源URL和目标URL上都有SAS签名。不确定我做错了什么。
更新
目标URL(使用SAS)从Dynamics 365端点获取。它回来与2014-02-14的sv
值。这可能是问题(sv
太老了,如评论中所建议的那样)?
我设法通过读取源blob的内容并使用该内容(Put Blob)在目标URL处创建blob,以不同的方式复制blob。
一些信息供您参考。
我在门户网站中生成SAS令牌,并将存储帐户A中的blob复制到B,我在logicapp中测试它,它工作正常。
你的生日:
请求网址:
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中:
检查门户网站:
更新:
我认为这显然是问题所在。