AADSTS700016: Application was not found in the target tenant
The application was not found in the target tenant.
What to check
- Check the client ID and tenant, then confirm whether the app has been installed or consented to there.
Official reference
Microsoft Learn: AADSTS error codes
Microsoft error lookup
Message summary: The application was not found in the target tenant.
Fields in the message template: {appIdentifier}, {tenantName}.
Microsoft remediation: Verify the app ID, target tenant and whether the app has been installed or consented to in that tenant.