Error while calling logic app from ADF using Managed Identity Authentication

Arundhati Sen 151 Reputation points
2023-09-06T15:53:50.2+00:00

I am trying to trigger Logic App URL from ADF using Managed Identity Authentication.
But getting error :

{"error":{"code":"MisMatchingOAuthClaims","message":"One or more claims either missing or does not match with the open authentication access control policy."}}

I am following the exact steps in this document : https://techcommunity.microsoft.com/t5/azure-integration-services-blog/use-azure-data-factory-to-invoke-logic-app-via-managed-identity/ba-p/3804218

Please help me where I am doing wrong.

ADF configuration :

User's image

Logic App Configuration :

User's image

User's image

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
2,821 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,456 questions
0 comments No comments
{count} votes

Accepted answer
  1. MuthuKumaranMurugaachari-MSFT 22,211 Reputation points
    2023-09-06T20:42:39.7833333+00:00

    Arundhati Sen Thanks for posting your question in Microsoft Q&A. Based on the error message, it appears that token generated and passed from ADF doesn't match with authorization policies configured in Logic Apps.

    I suggest you get the token generated in the Web activity (Use developer tools in the browser -> get Authorization token in the request Headers sent to the management endpoint), then decode the token via https://jwt.io/ and validate the claims such as Issuer, Audience against the authorization policy. If not, please make the changes in authorization policy accordingly.

    Otherwise, please share the decoded token info such as audience, issuer (hiding sensitive info such as sig*).

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful