Error connecting Credentials with Azure Enterprise Application in Entra
I have recreated it multiple times but it still shows up as not found in the directory. I attached showing that is has been granted admin consent.
What is the error message (if any)?
Request Id: fa1f3763-255d-4d4c-930e-9d7402536f00
Correlation Id: 4e1becf0-126e-48ea-8971-8e475e2c783b
Timestamp: 2026-02-09T13:45:34Z
Message: AADSTS700016: Application with identifier 'XXXXX' was not found in the directory 'Avatare, Inc.'. 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.
Please share your workflow/screenshots/recording
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.
Debug info
core
n8nVersion: 2.4.8
platform: docker (self-hosted)
nodeJsVersion: 22.13.1
nodeEnv: undefined
database: sqlite
executionMode: regular
concurrency: -1
license: enterprise (production)
storage
success: all
error: all
progress: false
manual: true
binaryMode: filesystem
pruning
enabled: true
maxAge: 336 hours
maxCount: 10000 executions
client
userAgent: mozilla/5.0 (macintosh; intel mac os x 10.15; rv:147.0) gecko/20100101 firefox/147.0
isTouchDevice: false
Generated at: 2026-02-09T13:24:20.594Z}
Activity
n8n-assistant
Error connecting Credentials so Azure Enterprise Application in Entra
I have recreated it multiple times but it still shows up as not found in the directory. I attache
The error AADSTS700016 “Application with identifier was not found” almost always points to a specific ID mismatch.
Most likely:
You have pasted the Object ID into the n8n “Client ID” field instead of the Application (Client) ID. These are two different UUIDs found on the same page, and using the Object ID will cause the directory lookup to fail exactly like this.
Next steps:
Go to the Azure Portal → App Registrations → Select your app.
Look at the “Overview” blade (see diagram below).
Copy the value labelled Application (Client) ID.
Paste this into the Client ID field in your n8n Credential.
Verify your Tenant ID matches the “Directory (tenant) ID” on that same page.
Quick questions:
Did you select “Accounts in this organizational directory only (Single tenant)” when creating the app? If so, ensure your n8n credential uses the specific Tenant ID, not common or organizations.
Can you confirm you are not using the “Enterprise Applications” Object ID (which is yet another different ID)? Always use the ID from the App Registrations view.
That was it. I was using the wrong client ID. So many ID’s in azure.
You should really update the label to ask for the Application (Client) ID. Every other API is asking for the client id and key from the certificate. Thanks for the quick response. Working great now.
if my answer helped solve your question, would you mind marking it as the solution?
It’ll help others find it more easily—and I’d really appreciate it!
Thanks!