Microsoft Agent 365 hit general availability, and n8n users are first in line to take advantage. The integration lets you build AI agents on the n8n canvas that show up as addressable members of the team inside Microsoft 365 apps, not just background automations running in a silo.
How It Works
Each agent gets its own Entra ID, so employees can grant it access to SharePoint, Teams channels, and other Microsoft 365 services the same way they would a human colleague. Identity, access policies, and compliance run through Purview and Defender on the Microsoft side. Agent lifecycle management, registry, analytics, and policies live in the Microsoft 365 Admin Center.
The n8n canvas handles what the agent actually does: its system prompt, connections to third-party tools like Zendesk, Salesforce, and PagerDuty, and the logic that ties actions together. Microsoft services such as posting in Teams or sending Outlook emails come through Agent 365’s MCP servers, enabled via a toggle in the Microsoft Agent 365 node configuration.
What You Can Build
The practical picture: a support lead @mentions the agent in a Teams channel. The agent pulls overnight Zendesk escalations, cross-references account data from Salesforce, checks PagerDuty for open infrastructure incidents, posts a summary in Teams, and drafts an email with next steps and owner assignments, all without a human doing the hand-off work between systems.
Existing n8n workflows can be packaged as sub-workflows and handed to the agent as callable tools. Third-party MCP servers, such as Datadog for observability, connect through the MCP Client node. JavaScript and Python are available for custom logic anywhere in the workflow. Execution records show every decision the agent made, every tool it called, and the data returned, so you can audit and edit at any step.
Governance and Deployment
Governance runs at two layers: Agent 365 covers identity and compliance at the Microsoft level, while n8n handles RBAC, credential management, PII detection guardrails, and error handling at the workflow level. Teams with data residency requirements can self-host n8n on their own infrastructure.
n8n is available on the Microsoft Marketplace for Azure deployments. Initial setup requires registering the app in Entra ID, creating an agent blueprint through the Agent 365 CLI, and getting admin approval within the tenant. After that, the agent is live in Teams, Outlook, SharePoint, and Word. The Microsoft Agent 365 Trigger node is available now. Setup docs are at n8n docs and Microsoft’s provisioning guide is at Microsoft’s Agent 365 documentation.
