AADSTS700016: Application with identifier '185XXX-XXX-4XXc-XX04-XXXXXX' was not found in the directory 'XXXXXx.'.

Suchai Tammewar 65 Reputation points
2024-01-15T18:48:53.99+00:00

Registered an Application in Azure AD with correct clientID as '185XXX-XXX-4XXc-XX04-XXXXXX', But still when i try to access the application ,when authorizing throwing an error as below AADSTS700016: Application with identifier '185XXX-XXX-4XXc-XX04-XXXXXX' was not found in the directory 'Company, Inc.'. 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.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. Sandeep G-MSFT 20,911 Reputation points Microsoft Employee Moderator
    2024-01-16T08:29:14.6833333+00:00

    @Suchai Tammewar

    Thank you for posting this in Microsoft Q&A. Application is registered but is not configured as a multi-tenant application.

    Generally, this means the application was registered in another directory such as fabrikam.onmicrosoft.com (Opens in new window or tab) and it not enabled as a multi-tenant application. Check with the application developer if this is supposed to be a single tenant app or multi-tenant app. First understand the difference of single-tenant vs multi-tenant... https://docs.microsoft.com/en-us/azure/active-directory/develop/single-and-multi-tenant-apps (Opens in new window or tab) If it is meant to be a multi-tenant app... Application developer will need to convert the app from single-tenant to multi-tenant... https://docs.microsoft.com/en-us/azure/active-directory/develop/howto-convert-app-to-be-multi-tenant (Opens in new window or tab) If it is supposed to be a single-tenant app and the user signing in is a guest user of the directory where the application is registered, ensure the sign-in endpoint (or also called authority) being used is as follows... https://login.microsoftonline.com/{your-tenant-id}/… (Opens in new window or tab) For example, if the application is registered in fabrikam.onmicrosoft.com (Opens in new window or tab), then the authority should look like this... https://login.microsoftonline.com/fabrikam.onmicrosoft.com/… (Opens in new window or tab) Let me know if you have any further questions. Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    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.