crmoauth2

Dynamics 365

Dynamics 365 from Microsoft combines CRM, ERP, and productivity apps to streamline sales, marketing, customer service, and operations in one integrated platform

Verdict

The Dynamics 365 MCP lets your team create and retrieve customer records, sales opportunities, cases, and invoices directly from Switchy Spaces. @mention it to log new leads from discovery calls, open support cases from customer complaints, or pull invoice details during billing reviews. Sales, support, and finance teams get the most value — you skip tab-switching to Dynamics while keeping conversation context intact. Auth requires OAuth with read/write permissions to your Dynamics environment, so coordinate with your CRM admin before connecting.

Common use cases

  • Log qualified leads from sales calls
  • Open support cases from Slack escalations
  • Create invoices after deal close
  • Retrieve account details during customer meetings
  • Track opportunity pipeline in daily standups

Integration

Vendor
Dynamics 365
Category
crm
Auth
OAUTH2
Tools
16
Composio slug
dynamics365

Tools

  • 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

  • Get all invoices action

    Get all invoices action

  • 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.

Setup

Setup guide

  1. 11. In Switchy, open your workspace settings and navigate to the Integrations tab. 2. Find Dynamics 365 in the MCP directory and click Connect. 3. You'll redirect to Microsoft's OAuth consent screen — sign in with an account that has CRM access in your Dynamics 365 tenant. 4. Grant permissions for reading and writing accounts, contacts, leads, opportunities, cases, invoices, and sales orders (the MCP requests these scopes explicitly). 5. After approval, Switchy confirms the connection and shows your Dynamics environment URL. 6. Open any Space and type '@Dynamics 365 create a lead named Acme Corp with email hello@acme.com' to test — the MCP should return a success message with the new lead ID. 7. If you see an auth error, verify your Dynamics admin enabled API access for your user role.

What teammates see: by default, memories from Dynamics 365 are scoped to the Space (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.

Works well with

Top models

Compatibility data appears once enough Spaces have used this MCP together with a given model.

How Switchy teams use it

Not enough Spaces yet to publish anonymised usage stats (we require ≥ 50 Spaces per week).

Starter prompts

Log Inbound Lead

@Dynamics 365 create a lead with company name 'Northwind Traders', contact email 'purchasing@northwind.com', topic 'Enterprise plan inquiry', and estimated value $50,000.
Open in a Space →

Open Support Case

@Dynamics 365 create a case titled 'Login error on mobile app' for account 'Contoso Ltd' with priority High and description 'User reports 403 error after latest iOS update'.
Open in a Space →

Create Sales Opportunity

@Dynamics 365 create an opportunity named 'Q2 Expansion - Fabrikam' for account 'Fabrikam Inc' with estimated revenue $120,000 and estimated close date June 30, 2025.
Open in a Space →

Retrieve Invoice Details

@Dynamics 365 get invoice INV-2025-0042 and show me the total amount, billing contact, and line items.
Open in a Space →

Add New Contact

@Dynamics 365 create a contact named 'Maria Gonzalez' with email 'mgonzalez@wingtip.com', phone '+1-555-0199', and associate with account 'Wingtip Toys'.
Open in a Space →

Example outputs

Illustrative - representative of the model's voice and quality, not literal recordings.

Prompt

@Dynamics365 show me all open opportunities for accounts in the healthcare vertical, sorted by estimated close date

Output

Found 12 open opportunities in healthcare accounts. Top 3 by close date: 'Memorial Hospital System Expansion' ($450K, closes Feb 15), 'HealthTech Partners EHR Upgrade' ($280K, closes Feb 28), 'Regional Clinic Network Implementation' ($195K, closes Mar 10). All opportunities are currently in the 'Proposal' stage. The remaining 9 opportunities have estimated close dates ranging through Q2 2024, totaling $1.8M in potential revenue across the vertical.

Notes

This read example requires OAuth2 scope for Opportunity entities. The MCP queries your Dynamics instance's current state — results reflect your actual pipeline data. If your org uses custom fields for vertical segmentation, you may need to specify the field name explicitly in the prompt.

Prompt

@Dynamics365 create a new case for Acme Corp titled 'API integration timeout errors' with high priority and assign it to the technical support queue

Output

Created Case #CAS-2024-00847 in Dynamics 365. Title: 'API integration timeout errors'. Priority set to High. Customer: Acme Corp (account ID: a1b2c3d4). Assigned to: Technical Support Queue. Status: Active. The case is now visible in your support dashboard and will trigger your standard SLA timers for high-priority issues. A notification has been sent to the queue owner.

Notes

This write action immediately creates a live case record in your CRM. Ensure the OAuth2 token has write permissions for Case entities. The MCP will fail if 'Technical Support Queue' doesn't exist in your instance — use exact queue names from your Dynamics setup. This action is irreversible without manual deletion.

Prompt

@Dynamics365 pull the last 30 days of closed-won opportunities and draft a summary email highlighting our top 5 wins for the executive team

Output

Retrieved 18 closed-won opportunities from the past 30 days, totaling $3.2M in new business. Top 5 wins: Enterprise Solutions Inc ($620K cloud migration), Global Manufacturing Co ($485K CRM implementation), Regional Bank Network ($410K compliance platform), TechStart Ventures ($295K product suite), MedSupply Partners ($270K integration project). Draft email: 'Team — strong month with $3.2M closed across 18 deals. Our enterprise segment led with 3 six-figure wins, and the manufacturing vertical showed 40% growth vs. last month. Full breakdown attached.' This synthesis pairs CRM data with AI-generated narrative framing.

Notes

This example combines the MCP's data retrieval with the AI's summarization capability. The MCP fetches structured opportunity records; the AI interprets patterns and drafts prose. Accuracy depends on your Dynamics data hygiene — verify opportunity stage values match 'Won' in your instance. The draft is illustrative; review before sending to executives.

Use-case deep-dives

Sales handoff from lead to opportunity

When Dynamics 365 MCP closes the SDR-to-AE handoff gap

A 6-person sales team runs discovery calls in Zoom, logs notes in Slack, then manually re-enters lead data into Dynamics before converting to opportunities. The Dynamics 365 MCP wins here because it lets the AI create leads and opportunities directly from conversation transcripts during the handoff meeting. The rep pastes the Zoom summary, the AI writes the lead record with contact details and qualification notes, then converts it to an opportunity with one follow-up prompt. This works cleanly for teams closing 10-30 deals per month where the CRM is the single source of truth. If your reps are already in Dynamics all day, the MCP adds less—it shines when the team lives in chat tools and needs the AI to bridge the gap without opening another tab.

Customer support case escalation workflow

Using this MCP to route support cases without leaving Slack

A 4-person support team at a B2B SaaS company triages customer issues in a shared Slack channel, then escalates complex cases to Dynamics for tracking and SLA management. The Dynamics 365 MCP is the right call when the team wants to create case records and link them to existing accounts without switching contexts. The AI reads the Slack thread, pulls the account name, creates the case with priority and description, and drops the case number back into the thread. This keeps the team in flow and ensures nothing falls through during handoffs. The threshold: if your support volume exceeds 50 cases per day, you need dedicated case management UI—the MCP is for smaller teams where the overhead of opening Dynamics breaks focus more than it helps.

Invoice generation after project milestones

When Dynamics 365 MCP speeds up milestone invoicing for agencies

A 10-person creative agency bills clients at project milestones tracked in Asana, but invoices live in Dynamics tied to sales orders. The finance lead manually creates invoices by copying line items from Asana into Dynamics every two weeks. The Dynamics 365 MCP fits when the AI can read the milestone task, match it to the sales order, and generate the invoice record with line items and amounts in one prompt. This cuts invoicing time from 20 minutes per client to under 2 minutes. The trade-off: if your billing logic involves complex tax rules or multi-currency calculations, the MCP's create-invoice tool is too basic—you'll still need the full Dynamics UI. For straightforward milestone billing with fixed-price line items, this MCP removes the busywork.

Frequently asked

What can the Dynamics 365 MCP do in Switchy?

It lets AI agents create and retrieve CRM records — accounts, contacts, leads, opportunities, cases, invoices, and sales orders — directly in your Dynamics 365 instance. Your team can ask an agent to log a new lead from a Slack thread or pull invoice details without opening the CRM. It uses the Dynamics Web API, so changes appear instantly in your live environment.

Do I need admin access to connect Dynamics 365?

You need OAuth2 credentials with write permissions to the entity types you want to create. Typically that means a user account with Sales or Service roles in Dynamics, or a registered app with delegated API permissions. Your Dynamics admin can provision this. The MCP doesn't require global admin, but it does need create/read rights on accounts, contacts, leads, and other entities you plan to use.

Can the Dynamics 365 MCP update existing records?

No. The current tool set only creates new records and retrieves invoices. If you need to update an opportunity stage or edit a contact's email, use the Dynamics web interface or a dedicated integration platform. The MCP is designed for fast record creation from conversational context, not full CRUD operations.

How does this compare to using Dynamics 365 directly?

The MCP is faster for logging records during a conversation — you describe a lead in Slack and the agent writes it to Dynamics without switching tabs. But it exposes only eight entity types and basic field mapping. For complex workflows, custom fields, or bulk imports, you still need the Dynamics UI or Power Automate.

Who on the team should connect this MCP?

Whoever owns your Dynamics 365 OAuth app registration or has a licensed user account with create permissions on sales and service entities. Once connected in Switchy, any team member can invoke the tools through an agent — they don't need their own Dynamics login. One connection serves the whole workspace.

Data last verified 607 hours ago.Sources aggregated hourly to weekly. See docs/architecture/model-directory.md.