AuthorizationFailed Response - Asynchoronous Pattern Logic App with restricted access to specific IP addresses

Isham Mohamed 1 Reputation point
2020-07-03T17:28:24.543+00:00

I have a asynchronous pattern HTTP request - response logic app which has the Access control configuration set to "Specific IP ranges". Once I invoke the logic app, it returns 202 with the location header to check the real response back. If I try to call the URL to check the real reponse, I am getting the below error:

{
"error": {
"code": "AuthorizationFailed",
"message": "The access to this api is not allowed with a shared access key when the workflow access control configuration has a list of allowed caller IP addresses. Please use the resource management endpoint using an Active Directory access token to access this api."
}
}

How to solve this issue?

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,965 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,606 Reputation points Microsoft Employee
    2020-07-14T13:03:28.863+00:00

    For this case, you should be able to use the Workflow Runs - Get REST API to monitor the status of the Logic App and once it completes, use the response URLs to fetch it.