logicapps icon indicating copy to clipboard operation
logicapps copied to clipboard

Managed Identity Authentication is not generating correct token value

Open russgove opened this issue 5 months ago • 0 comments

Describe the Bug

I have a logic app that makes an http call to a custom api in a loop. It uses a managed identity to make the call. The http call works fine most of the time bit it intermittently fails with a 401 error.

The loop is currently executing about 300 iterations and about 6 of them fail with the 401 error.

I am logging the tokens on my backend api. I see that for the requests that failed with a 401 error, the tokens had no roles.

This is the exact same issue reported previously in issue # 890

Plan Type

Consumption

Steps to Reproduce the Bug or Issue

1, Create a consumption workflow 2. Call a custom api from the workflow using a manage identity

Workflow JSON

No response

Screenshots or Videos

No response

Additional context

No response

russgove avatar Sep 20 '24 15:09 russgove