Share via

Logic App doesn't accept token

Civio Arts 0 Reputation points
2023-07-14T06:17:56.6033333+00:00

This question has been solved. See the answer below.

Azure API Management
Azure API Management

An Azure service that provides a hybrid, multi-cloud management platform for APIs.

Azure Logic Apps
Azure Logic Apps

An Azure service that automates the access and use of data across clouds without writing code.

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Pramod Valavala 20,661 Reputation points Microsoft Employee Moderator
    2023-07-18T03:12:24.6833333+00:00

    @Civio Arts Tokens for all intense purposes are only meant for the audience, and in this case, Microsoft Graph. This token is only meant for it. Read this issue on the same for more information.For your scenario, you should try to get a token for your own app or for the managed identity itself by using the Client ID or Application ID (Refer to this doc for how to find your Managed Identity in Azure AD) for the resource value in the authentication-managed-identity policy instead of https://graph.microsoft.com.

    @Civio Arts Tokens for all intense purposes are only meant for the audience, and in this case, Microsoft Graph. This token is only meant for it. Read this issue on the same for more information.For your scenario, you should try to get a token for your own app or for the managed identity itself by using the Client ID or Application ID (Refer to this doc for how to find your Managed Identity in Azure AD) for the resource value in the authentication-managed-identity policy instead of https://graph.microsoft.com.

    Was this answer helpful?

    0 comments No comments

Your answer

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