在 Azure 逻辑应用程序中,我收到 DirectApiAuthorizationRequired

5 azure azure-logic-apps

在 azure 逻辑应用程序中,我收到以下错误

{
    "error": {
        "code": "DirectApiAuthorizationRequired",
        "message": "The request must be authenticated only by Shared Access scheme."
    }
}
Run Code Online (Sandbox Code Playgroud)

但据我所知,用于授权的 SAS 令牌将附加到 url,因此无需通过任何授权。

但我无法解决上述问题。

Zst*_*ack 7

还要确保双引号之间有 url。

curl "https://production.centralus.logic.azure.com/.............." 
Run Code Online (Sandbox Code Playgroud)


Ahm*_*gdy 0

您需要复制 HTTP 触发器生成的完整 URL,该 URL 包含 API 的 SAS 令牌作为 URL 本身的参数。

否则您无法将身份验证标头发送到 HTTP 触发器