Entra AADSTS700016: application not found in the directory
What this Microsoft Entra ID error means for an OhAuthCat connection and what to change.
Entra could not find an application with the identifier in the request in this tenant. Usually the app was created in a different tenant, or its identifier differs from what OhAuthCat sends.
What to change
Section titled “What to change”- IT admin (SAML): set the enterprise application’s Identifier (Entity ID) to the exact SP entity ID from the setup portal.
- IT admin (OIDC): check that the client ID entered in the portal belongs to an app registration in the same tenant as the users signing in.
- Developer: if the customer has several Entra tenants, confirm the connection points at the tenant their users belong to.
Related OhAuthCat error
Section titled “Related OhAuthCat error”Source
Section titled “Source”Written in our own words from the public Microsoft Entra ID documentation: https://learn.microsoft.com/en-us/entra/identity-platform/reference-error-codes. Check it for the vendor’s current wording; vendors change their pages without notice.