Error generating token using code grant

Radha Rajendran 61 Reputation points
2021-03-31T14:05:33.903+00:00

Error generation token forRequest Id: ce823f58-b5a4-45c3-a909-c25d61bd1200

Correlation Id: 588013d5-cd61-4187-91ac-12639ce7a452
Timestamp: 2021-03-31T14:00:40Z
Message: AADSTS700016: Application with identifier '4533b917-a939-46b1-ada3-d18e7c400b0a' was not found in the directory '4533b917-a939-46b1-ada3-d18e7c400b0a'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant. client app

Please find the attached document for more details.83259-va-poc-web-api-va-poc-client-api-converted.pdf

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,473 questions
0 comments No comments
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,306 Reputation points
    2021-03-31T14:24:04.24+00:00

    Hi @Radha Rajendran · Thank you for reaching out.

    By tracking the request id, I found that the Application identifier '4533b917-a939-46b1-ada3-d18e7c400b0a' is incorrect. The correct App ID is a9c8d331-xxxx-xxxx-xxxx-b1878c73eeb1. Kindly update your code with correct App ID to resolve the issue.

    Note: I have masked few characters in the App ID for confidentiality.

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments

0 additional answers

Sort by: Most helpful