AI model node not connecting to Azure OpenAI API

Describe the problem/error/question

Azure OpenAI API deployment isn’t connecting. It shows resource not found despite placing the correct resource name. The n8n documentation isn’t much helpful as it gives the base guidelines only.

What is the error message (if any)?

Resource not found

Please share your workflow

The AI model node in the AI agent is having the issue.

(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.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Hi Haroon,

Difficult to judge without more info but have you checked the credentials for the Azure connection ? I must admit that I have not used this node but this sort of error is usually because the endpoint is not specified correctly. Also, the n8n node sets the version to “2025-03-01-preview“ by default but the current version in the Microsoft docs is “2025-04-01-preview“.

Hope this helps.

S