Copy the identifier from the error and compare it with the app registration. In the Entra admin center, open App registrations, open your app, and compare the Application (client) ID exactly. Expected output: the two values match, or you find a typo, a swapped environment value, or an object ID used in place of the client ID.

Confirm you are in the right directory. Check the directory switcher in the admin center and the tenant ID in your app configuration. Expected output: both name the same tenant where the registration lives.

Check the authority used by the app. It should name that tenant, for example the tenant-specific authority your platform provides, not a different tenant or a leftover test tenant. Expected output: the authority tenant and the registration tenant are identical.

If the app was deleted, restore it or create a new registration and update the client ID everywhere the app is configured, including CI variables and app settings. Expected output: the new client ID resolves in the tenant and sign-in moves past AADSTS700016.

For a multi-tenant app in a customer tenant, have a tenant admin complete consent once so a service principal is created in that tenant, then retry as a normal user. Expected output: the enterprise application appears in that tenant and sign-in succeeds.

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_S-uCtQ1nA6J70ZKYHZb1OA/versions/skv_ffebGMdywE8ezy9inlResQ>
- Canonical HTML skill page: <https://vectle.com/skills/skl_S-uCtQ1nA6J70ZKYHZb1OA>
- Current Markdown URL: <https://vectle.com/skills/skl_S-uCtQ1nA6J70ZKYHZb1OA/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "Fin",
  "client": null,
  "notices_and_references": []
}
```
