Could not consume message from Amazon SQS Queue from Azure Logic App

phonlawat 15 Reputation points
2024-04-22T16:59:33.95+00:00

Hi, I setup Azure Logic app and try to consume messages from Amazon SQS Queue (Standard Queue)

I generate temporary credentials which consists of

  1. AccessKeyID
  2. AccessKeySecret
  3. SessionToken

However, Amazon SQS Connector in Azure Logic App only allow me to fill in Point 1 and 2 and then I got error below, I try to understand "SessionToken" will be used for temporary credentials and this credential will be expired in 1 hour and after I supply Point 1 and 2, I got error below

  1. Can you please help confirm on this error ?
  2. Does it mean Azure Logic App does not support session Token ?
  3. Does it mean Azure Logic App does not support temporary AWS credential ?

Thank you.

{
    "statusCode": 403,
    "headers": {
        "Cache-Control": "no-store, no-cache",
        "Pragma": "no-cache",
        "Set-Cookie": "ARRAffinity=c3e56c5cc8f2059e9ca5b31ea6306f0b4d439389925f19007ee442dc2004e749;Path=/;HttpOnly;Secure;Domain=amazonsqs-eus.azconn-eus-002.p.azurewebsites.net,ARRAffinitySameSite=c3e56c5cc8f2059e9ca5b31ea6306f0b4d439389925f19007ee442dc2004e749;Path=/;HttpOnly;SameSite=None;Secure;Domain=amazonsqs-eus.azconn-eus-002.p.azurewebsites.net",
        "Strict-Transport-Security": "max-age=31536000; includeSubDomains",
        "x-ms-request-id": "40e1a55d-29d7-402d-950a-708ae75efc20",
        "X-Content-Type-Options": "nosniff",
        "X-Frame-Options": "DENY",
        "Timing-Allow-Origin": "*",
        "x-ms-apihub-cached-response": "false",
        "x-ms-apihub-obo": "false",
        "Date": "Mon, 22 Apr 2024 16:24:30 GMT",
        "Content-Length": "616",
        "Content-Type": "application/json",
        "Expires": "-1"
    },
    "body": {
        "status": 403,
        "message": "The operation failed at AWS. Request Id: 'bcd19579-3400-5a2f-ad3c-cbd9a57f9b29' Error type: 'Sender' Error code: 'InvalidClientTokenId' Error details: 'The security token included in the request is invalid.'.\r\nclientRequestId: 40e1a55d-29d7-402d-950a-708ae75efc20",
        "error": {
            "message": "The operation failed at AWS. Request Id: 'bcd19579-3400-5a2f-ad3c-cbd9a57f9b29' Error type: 'Sender' Error code: 'InvalidClientTokenId' Error details: 'The security token included in the request is invalid.'."
        },
        "source": "amazonsqs-eus.azconn-eus-002.p.azurewebsites.net"
    }
}
Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,854 questions
0 comments No comments
{count} votes