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.