Power Automate OAuth2 with HTTP Trigger

Oliver Kroener 20 Reputation points
2025-01-18T22:34:01.4366667+00:00

I wanto to connnect an App to an Power Automate Flow, which is triggers by REST/https.

Without authentication it works, but I want to secure the endpoint by Oauth2.

With MS-Graph APIs this is no problem, but in this case en error occurs:
{"error":{"code":"MisMatchingOAuthClaims","message":"One or more claims either missing or does not match with the open authentication access control policy."}}

Does anybody have a solution for that?

Thanks, Oliver

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,049 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yakun Huang-MSFT 9,940 Reputation points Microsoft Vendor
    2025-01-20T05:51:52.1333333+00:00

    Hello Oliver Kroener,

    Thank you for reaching out to Microsoft Support!

    According to your error message, the problem seems to be in the token you obtained, it is recommended that you can refer to this case to obtain a new token:

    https://stackoverflow.com/questions/77220479/add-oauth-authentication-for-http-request-triggers

    Hope this helps.

    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.