Azure OAuth Error: Client Secret Expired but App Registration Not Found in Tenant

Hi everyone,

I’m running into an issue with an Azure OAuth2 credential inside n8n.
When a workflow runs, I get this error:

{“error”:“invalid_client”,“error_description”:“AADSTS7000222: The provided client secret keys for app ‘’ are expired.”}

The strange part is that the application does not appear under App Registrations in my Azure tenant.
I can only see it under Enterprise Applications, and the Owners list is empty. So I cannot renew the client secret because the App Registration itself doesn’t exist in my tenant.

This suggests the OAuth app might have been created in another Azure tenant, but I’m not sure how n8n originally created or used it.

Any guidance would be appreciated.
Thank you!

Information on your n8n setup

  • n8n version: 1.106.3
  • Database: SQLite
  • n8n EXECUTIONS_PROCESS setting : own
  • Running n8n via : n8n cloud
  • Operating system:

This issue typically occurs when the Azure app registration was created in a different tenant and the client secret has expired. Since you can’t access the app registration in your tenant, you’ll need to:

1. Create a new App Registration in your Azure tenant

2. Generate a new client secret

3. Update your n8n Azure OAuth2 credential with the new App Registration details

You might want to verify with whoever originally set up the integration which tenant was used initially. If that’s not possible, setting up a fresh App Registration is your best bet.