Error AADSTS700016 - Application Identifier 'hzero:org:sp' not found in tenant 'VICTORIACN'

davidzwf 0 Reputation points
2025-06-05T08:53:42.3033333+00:00

Error AADSTS700016 - Application Identifier 'hzero:org:sp' not found in tenant 'VICTORIACN'

Request Id: c483cb75-4160-4993-a47e-526bc8f02500

Correlation Id: f0d91f10-a52b-44d5-ae14-4748936fbb15

Timestamp: 2025-06-05T06:06:53Z

Message: AADSTS700016: Application with identifier 'hzero:org:sp' was not found in the directory 'VICTORIACN'. 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.

The application ​has been configured​ in ​Microsoft Entra ID

The service principal (SP) configuration in our Entra ID tenant is detailed below (a screenshot is attached for reference).

Microsoft Security | Microsoft Entra | Microsoft Entra Internet Access
{count} votes

1 answer

Sort by: Most helpful
  1. Navya 20,910 Reputation points Moderator
    2025-06-24T17:32:31.56+00:00

    Hi davidzwf

    I understand you're encountering the error: AADSTS700016: Application with identifier 'hzero:org:sp' was not found in the directory 'VICTORIACN'.

    This issue can occur due to the following reasons:

    1.The application does not exist in Azure Active Directory

    Depending on the authentication protocol being used, the interpretation differs:

    OAuth2: The client_id in the request must match the App ID of the registered application.

    SAML2: The EntityId in the request must match the App ID URI of the application registration.

    2.The application is registered but is not configured as a multi-tenant application

    In this case, the app might be registered in a different Azure AD tenant (e.g., fabrikam.onmicrosoft.com) and not configured to support multi-tenancy.

    • Confirm whether the app should be single-tenant or multi-tenant.
    • If it's intended to be multi-tenant, the application registration must be updated to allow access from external tenants.

    Please check with the application developer or owner to confirm how the app is intended to be used and whether multi-tenant access is required.

    Hope this helps. Do let us know if you any further queries.

    1 person found this answer helpful.
    0 comments No comments

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.