question

RadhaRajendran-2501 avatar image
0 Votes"
RadhaRajendran-2501 asked amanpreetsingh-msft answered

Error generating token using code grant

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


azure-active-directory
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

amanpreetsingh-msft avatar image
0 Votes"
amanpreetsingh-msft answered

Hi @RadhaRajendran-2501 · 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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.