adf Web 活动中用于列出存储帐户中的表的身份验证失败

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

错误

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
  <code>AuthenticationFailed</code>
  <message xml:lang="en-US">Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
Time:2024-04-23T12:32:02.1385780Z</message>
</error>

我添加了参数源存储帐户 sas token 如下所示:

然后我添加了 Web 活动来列出存储帐户的表,其中该帐户只有 500 个表,但我收到身份验证失败错误:

网络活动 - 列表表

URL: @concat('https://srcstoreacc131.table.core.windows.net/Tables', pipeline().parameters.sourceSAS)
Headers: Accept-application/json # Add as dynamic content value
Method: GET
azure azure-data-factory azure-storage
1个回答
0
投票

服务器无法验证请求。确保授权标头的值格式正确,包括签名。 时间:2024-04-23T12:32:02.1385780Z

您遇到的上述错误是因为您使用的 SAS 令牌已过期或没有适当的权限。

检查您在 SAS 令牌中授予的以下权限,并检查 SAS 令牌的开始日期和到期日期。

enter image description here

输出:

enter image description here

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