I'm trying to mask async Logic App with API Management with the retry policy mentioned here.
The Logic App has the Access control configuration set to "Specific IP ranges" (the IP address of the APIM).
The first call to execute the Logic App trigger works well. However the call to get run status (url from the header location) produces the following 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."
}
}
When I remove the IP restrictions from the Logic App (by setting Any IP) everything works well. Is there any way to rewrite the call to get run status so it works with IP restrictions on the Logic App ?