Docs Error Library Authentication Errors Error: AADSTS700016: Application With Identifier Not Found in the Directory

Error: AADSTS700016: Application With Identifier Not Found in the Directory

What Is Causing This Error?

The error AADSTS700016 arises due to a discrepancy with the Application Identifier when trying to authenticate with Azure Active Directory (AD). Essentially, Azure AD struggles to identify the Application ID because it might not have been appropriately set up or lacks the required permissions.

Additionally, this issue might surface if there’s a mix-up between the Client Secret and the Client ID. Another scenario triggering this error is when the authentication request is directed at an incorrect Azure AD tenant.

Resolving the Error – Solution

To address this error:

  1. Verify the Application Identifier: Double-check that you’re using the correct Application ID in your plugin settings. Avoid confusing it with the Client Secret or other credentials.
  2. Cross-Check Permissions: In the Azure portal, ensure that all required API permissions for your application are granted. Any missing permissions can cause this error.
  3. Double-check Redirect URL: In the Azure portal, ensure that the correct Redirect URL is added under the Authentication tab.

That’s it! Now you know the common causes of the AADSTS50011 error and how to resolve it.

If you’d like to learn how to troubleshoot other common errors, check out the following tutorials: