How to connect Dynamics365 to Claude

Connect Claude Web, Desktop and Cowork to Dynamics365 MCP. Create a new sales lead for acme corp, list all open invoices for this quarter, and more using natural language, with authentication handled for you.

Dynamics365 logoDynamics365
Oauth2

Dynamics 365 is Microsoft's platform combining CRM, ERP, and productivity apps. It streamlines sales, marketing, service, and operations in one place.

16 Tools

Introduction

Claude is Anthropic's AI assistant, available on the web, in the desktop app, and on mobile. Cowork is its agent for knowledge work, and it runs on all of those surfaces too. Connected to your apps, Claude can work with your files and services to accomplish complex tasks on your behalf.

This guide walks you through the easiest and most secure way to connect your Dynamics365 account to Claude via Composio Connect, enabling it to create a new sales lead for Acme Corp, list all open invoices for this quarter, add a support case for a specific customer, and more such actions on your behalf without compromising your account security.

Setup is the same on Claude Web, Desktop, and Cowork, and you only need to do it once. The connector is tied to your account, so it's available in all three.

Also integrate Dynamics365 with

Connecting Dynamics365 to Claude Web, Desktop, and Cowork

Two ways to add the Composio connector. Pick whichever you prefer.

1. Add with one click

Click the button. Claude opens with the Composio connector filled in. Click Add, then go to step 2.

Add to Claude

Add manually

In Claude Desktop, click Customize in the left sidebar, then select Connectors and click the + icon at the top.

Claude Desktop connectors screen with Add custom connector selected

Click Add custom connector and paste in the Composio MCP server URL:

bash
https://connect.composio.dev/mcp
Add custom connector dialog with Composio MCP server URL

2. Authorize in your browser

Click Connect. You'll be redirected to a browser window where you can authorize Composio to continue.

Composio authorization screen for Claude Web, Desktop, and Cowork

3. Connect your Dynamics365 account

Back in Claude, ask it to connect to Dynamics365 or give it any Dynamics365-related task.

For example, ask Claude to:

  • "Create a new sales lead for Acme Corp"
  • "List all open invoices for this quarter"
  • "Add a support case for a specific customer"

It will prompt you to authenticate and authorize access.

That's it. Composio's tools are now available in Claude, and your Dynamics365 account is ready to use.

What is the Dynamics365 Claude Connector, and what's possible with it?

The Dynamics365 MCP server is an implementation of the Model Context Protocol that connects your AI agent and assistants like Claude, Cursor, etc directly to your Dynamics365 account. It provides structured and secure access to your CRM data, so your agent can perform actions like managing contacts, creating leads, tracking invoices, and automating sales workflows on your behalf.

  • Automated contact, account, and lead creation: Instantly add new contacts, accounts, or leads to your CRM, ensuring your pipeline stays up to date with zero manual data entry.
  • Sales opportunity and order management: Let your agent create and update opportunities or sales orders, helping your team stay organized and focused on closing deals.
  • Invoice and case tracking: Retrieve, create, or manage invoices and cases directly from Dynamics365, streamlining customer service and billing operations.
  • Real-time CRM record retrieval: Ask your agent to fetch specific leads, invoices, or cases by criteria, so you always have the most relevant customer data at your fingertips.
  • Seamless workflow automation: Combine multiple actions—like creating a lead, generating an invoice, and opening a case—into a single smooth workflow, all triggered by your agent.

Troubleshooting

1. Why does Claude not use the Composio connector for Dynamics365?

The connector can show as connected, but Claude must use it in each Dynamics365 conversation.

  • Click + at the lower left of the chat, or type /.
  • Hover Connectors.
  • Turn on Composio.
  • Ask Claude to connect to Dynamics365 again.

2. Why does Claude show an MCP server error before Dynamics365 connects?

Claude can show Couldn't reach the MCP server or Authorization with the MCP server failed when you add the connector for Dynamics365.

  • Check that the connector URL is https://connect.composio.dev/mcp.
  • Connectors run from Anthropic's cloud, so your device network is usually not the problem.
  • Add the connector again from Customize > Connectors, then ask Claude to connect Dynamics365.
  • If it fails again, send the error and the ofid_ reference id to support@composio.dev.

3. Why does the Dynamics365 authorization link not work?

The Composio connector is one server. Your Dynamics365 account connects separately when Claude asks for it.

  • If the browser does not open, or the link expires, ask Claude to retry the Dynamics365 connection.
  • Composio creates a fresh Dynamics365 authorization link.
  • Open that link in your browser and finish the Dynamics365 sign-in.

4. Why do Dynamics365 actions fail after they worked before?

The Dynamics365 connection can expire or lose permission.

  • Ask Claude to inspect the Dynamics365 connection.
  • If the connection is unhealthy, disconnect it when Claude prompts you.
  • Reconnect the Dynamics365 account and retry the action.
  • If Claude shows a permission prompt, approve it before Claude changes data in Dynamics365.
  • If the action still fails with a permission error, check that the connected account has that permission in Dynamics365 itself.

5. How do I switch to a different Dynamics365 account?

Claude can manage the Dynamics365 connection for you.

  • Ask Claude to disconnect or delete the current Dynamics365 account.
  • Ask Claude to connect Dynamics365 again.
  • Open the new Composio authorization link for Dynamics365.
  • Sign in with the other Dynamics365 account in the browser.
  • After the account connects, ask Claude to retry the Dynamics365 task.

6. Why is my Dynamics365 connection missing in Claude Desktop or on a Team plan?

The connector belongs to your Claude account, so your Dynamics365 connection works in Claude Web, Desktop, and Cowork.

  • In Claude Desktop, open Customize > Connectors.
  • Next to Composio, click ⋮ and click Clear cache.
  • If Dynamics365 tools still do not appear, click ⋮, disconnect, remove the connector, and add it again.
  • On Team or Enterprise, an Owner or Primary Owner must enable the connector before you can connect Dynamics365.
TOOLS

Supported Tools

Every Dynamics365 action and event your agent gets out of the box.

Create Account

Creates a new account entity record in Dynamics CRM using the Web API.

Create Case

Creates a new case (incident) entity record in Dynamics CRM using the Web API.

Create Contact

Creates a new contact entity record in Dynamics CRM using the Web API.

Create Invoice

Creates a new invoice entity record in Dynamics CRM using the Web API.

Create Lead

Creates a new lead entity record in Dynamics CRM using the Web API.

Create Opportunity

Creates a new opportunity entity record in Dynamics CRM using the Web API.

Create Sales Order

Creates a new sales order entity record in Dynamics CRM using the Web API.

Dynamicscrm get a invoice

Dynamicscrm get a invoice

Dynamicscrm get a lead

Dynamicscrm get a lead

Dynamicscrm get all leads

Dynamicscrm get all leads

Update Case

Updates an existing case (incident) entity record in Dynamics CRM using the Web API.

Update Invoice

Updates an existing invoice entity record in Dynamics CRM using the Web API.

Update Lead

Updates an existing lead entity record in Dynamics CRM using the Web API.

Update Opportunity

Updates an existing opportunity entity record in Dynamics CRM using the Web API.

Update Sales Order

Updates an existing sales order entity record in Dynamics CRM using the Web API.

Get all invoices action

Get all invoices action

FAQ

Frequently asked questions

With a standalone Dynamics365 MCP server, the agents and LLMs can only access a fixed set of Dynamics365 tools tied to that server. However, with the Composio Tool Router, agents can dynamically load tools from Dynamics365 and many other apps based on the task at hand, all through a single MCP endpoint.

Yes, you can. Claude Cowork fully supports MCP integration. You get structured tool calling, message history handling, and model orchestration while Tool Router takes care of discovering and serving the right Dynamics365 tools.

Yes, absolutely. You can configure which Dynamics365 scopes and actions are allowed when connecting your account to Composio. You can also bring your own OAuth credentials or API configuration so you keep full control over what the agent can do.

All sensitive data such as tokens, keys, and configuration is fully encrypted at rest and in transit. Composio is SOC 2 Type 2 compliant and follows strict security practices so your Dynamics365 data and credentials are handled as safely as possible.

Start with Dynamics365.It takes 30 seconds.

Managed auth, hosted MCP servers, and every Dynamics365 tool your agent needs.Free to start.

Start building