Microsoft Dynamics 365 + Microsoft Teams

Connect Microsoft Dynamics 365 and Microsoft Teams for Smarter Sales Collaboration

Bring CRM data into your team conversations and automate deal updates, alerts, and workflows without leaving Teams.

Why integrate Microsoft Dynamics 365 and Microsoft Teams?

Microsoft Dynamics 365 and Microsoft Teams are two of the most widely used platforms in the enterprise, yet most organizations still run them in silos. Connecting your CRM data to your collaboration hub means sales reps, account managers, and customer success teams can act on real-time information without constant context switching. Integrating Dynamics 365 with Microsoft Teams through tray.ai cuts out manual handoffs and keeps everyone aligned on deals, leads, and customer activity.

Automate & integrate Microsoft Dynamics 365 & Microsoft Teams

Use case

Real-Time Deal Alert Notifications in Teams

When an opportunity in Dynamics 365 advances to a new pipeline stage or hits a defined deal value threshold, tray.ai automatically posts a formatted notification to the designated Teams channel. Sales managers and stakeholders are instantly informed without needing to refresh dashboards or pull manual reports. The entire revenue team stays in sync on high-priority deals as they move.

Use case

New Lead Assignment Notifications to Reps

When a new lead is created or assigned in Dynamics 365, tray.ai sends a direct Teams message to the assigned sales rep with all the relevant details — contact information, lead source, and any associated notes. Reps are prompted to follow up immediately, which cuts lead response times dramatically. No lead goes cold because of a missed email or an overlooked CRM notification.

Use case

Customer Support Escalation Routing

When a Dynamics 365 support case is marked high-priority or escalated, tray.ai automatically posts to an escalations channel — or creates a dedicated one — tagging the relevant account manager and support lead. Case details, customer history, and SLA timelines come in from Dynamics 365 so the team can collaborate with full context. Resolution times for critical issues drop noticeably.

Use case

Daily Sales Pipeline Digest in Teams

Tray.ai runs a scheduled workflow that queries Dynamics 365 for pipeline summaries, open opportunities, and overdue tasks, then compiles and posts a formatted digest to a designated Teams channel. Sales leaders get a consistent read on team performance without manually building reports. The digest can be scoped by territory, team, or deal stage to stay relevant for each audience.

Use case

Account Health Monitoring and Proactive Alerts

When account metrics in Dynamics 365 shift — a drop in engagement score, a lapsed renewal date, an at-risk flag — tray.ai sends an alert to the account owner in Teams or a shared channel. Customer success teams can act before churn becomes a real possibility. The workflow also pulls in recent activity history from Dynamics 365 so account managers have immediate context.

Use case

Meeting Outcome Logging from Teams to Dynamics 365

After a Teams meeting ends, tray.ai captures meeting metadata — participants, duration, outcome notes submitted via an adaptive card — and automatically logs an activity record against the relevant Dynamics 365 account or opportunity. Sales reps spend less time on data entry while CRM records stay accurate and complete. Sales managers get better visibility into customer touchpoints without chasing reps to update the CRM.

Use case

Approval Workflows for Discounts and Contract Changes

When a sales rep needs to apply a special discount or modify contract terms in Dynamics 365, tray.ai routes an approval request to the relevant manager's Teams inbox as an interactive adaptive card. The manager approves or rejects with a single click inside Teams, and tray.ai updates the Dynamics 365 record immediately. Long email chains disappear and deals close faster.

Get started with Microsoft Dynamics 365 & Microsoft Teams integration today

Microsoft Dynamics 365 & Microsoft Teams Challenges

What challenges are there when working with Microsoft Dynamics 365 & Microsoft Teams and how will using Tray.ai help?

Challenge

Matching Dynamics 365 Users to Teams Identities

Dynamics 365 stores users by CRM user IDs or email addresses, while Microsoft Teams needs Azure Active Directory object IDs or UPNs to route messages correctly. Without a reliable mapping layer, notifications miss their target or require constant manual fixes as staff turns over.

How Tray.ai Can Help:

Tray.ai's data mapping and transformation tools let you dynamically look up a Teams user's identity using their email address from Dynamics 365 at runtime, so messages always reach the right person without a static lookup table to babysit.

Challenge

Handling High-Volume CRM Events Without Noise

Dynamics 365 generates a constant stream of record updates. Piping all of them into Teams channels creates notification fatigue fast — and once people start ignoring alerts, the whole integration loses its value. Filtering for the right events and thresholds requires careful logic that native integrations often can't maintain reliably.

How Tray.ai Can Help:

Tray.ai lets you build conditional logic and filtering rules directly into your workflows — only triggering Teams notifications when an opportunity value crosses a defined threshold or a specific field changes, so channels receive signals worth acting on.

Challenge

Maintaining Data Consistency Across Bidirectional Workflows

When data flows both ways — logging Teams meeting outcomes back to Dynamics 365, for example — you risk duplicate records, conflicting updates, or data landing on the wrong CRM record if the mapping isn't carefully managed.

How Tray.ai Can Help:

Tray.ai has error handling, conditional branching, and deduplication logic built in, so data gets written to the correct Dynamics 365 record every time. Workflow steps can verify whether a record exists before creating or updating it, preventing duplicates and keeping CRM data clean.

Challenge

Keeping Workflows Updated as Dynamics 365 Schema Evolves

Dynamics 365 is highly customizable, and organizations regularly add custom entities, fields, and relationships over time. Native integrations tend to break or need manual fixes when the underlying CRM schema changes, creating ongoing maintenance work for IT and operations teams.

How Tray.ai Can Help:

Tray.ai's flexible connector architecture and dynamic field referencing mean workflows can be updated quickly through a visual interface when Dynamics 365 schema changes. Tray.ai also supports custom entity access via the Dynamics 365 API, so integrations stay functional as the CRM grows with the business.

Challenge

Scaling Approval and Collaboration Workflows Across Teams

As organizations grow, approval workflows and CRM notification patterns need to work across multiple sales teams, regions, and channels without someone manually duplicating and maintaining a separate workflow for each configuration.

How Tray.ai Can Help:

Tray.ai supports parameterized, reusable workflow templates configurable with team-specific variables — channel IDs, manager IDs, territory filters — so a single master workflow can serve multiple teams at once. Maintenance overhead stays low even as the organization grows.

Start using our pre-built Microsoft Dynamics 365 & Microsoft Teams templates today

Start from scratch or use one of our pre-built Microsoft Dynamics 365 & Microsoft Teams templates to quickly solve your most common use cases.

Microsoft Dynamics 365 & Microsoft Teams Templates

Find pre-built Microsoft Dynamics 365 & Microsoft Teams solutions for common use cases

Browse all templates

Template

Post Dynamics 365 Opportunity Stage Changes to a Teams Channel

This template monitors Dynamics 365 for opportunity stage updates and posts a structured notification card to a designated Microsoft Teams channel, including deal name, new stage, deal value, and assigned owner.

Steps:

  • Trigger: Detect an opportunity stage change in Microsoft Dynamics 365 via polling or webhook
  • Transform: Format the opportunity data — name, stage, value, owner — into a Teams message card
  • Action: Post the formatted notification card to the specified Microsoft Teams channel

Connectors Used: Microsoft Dynamics 365, Microsoft Teams

Template

Send New Lead Assignments as Direct Teams Messages

When a new lead is created or reassigned in Dynamics 365, this template looks up the assigned rep's Teams user ID and sends them a direct message with all lead details, prompting immediate follow-up.

Steps:

  • Trigger: New lead created or lead owner updated in Microsoft Dynamics 365
  • Lookup: Retrieve the assigned sales rep's Microsoft Teams user profile using their email address
  • Action: Send a formatted direct message to the rep in Microsoft Teams with lead name, source, contact details, and a link to the Dynamics 365 record

Connectors Used: Microsoft Dynamics 365, Microsoft Teams

Template

Escalate High-Priority Dynamics 365 Cases to a Teams Escalations Channel

This template watches for case priority changes in Dynamics 365 and, when a case is escalated to high or critical, posts a detailed alert to a Teams escalations channel and tags the responsible account manager.

Steps:

  • Trigger: Case priority field updated to High or Critical in Microsoft Dynamics 365
  • Enrich: Pull associated account details, SLA deadline, and case history from Dynamics 365
  • Action: Post a detailed escalation card to the Microsoft Teams escalations channel, tagging the account manager and support lead

Connectors Used: Microsoft Dynamics 365, Microsoft Teams

Template

Daily Dynamics 365 Pipeline Digest Posted to Teams

This template runs on a schedule, queries Dynamics 365 for open opportunities and pipeline metrics, compiles the data into a readable summary, and posts it to a Teams channel so sales leaders start each day with a clear picture of where things stand.

Steps:

  • Trigger: Scheduled time-based trigger (e.g., every weekday at 8 AM)
  • Query: Fetch open opportunities, total pipeline value, and overdue tasks from Microsoft Dynamics 365 using filtered API calls
  • Action: Compile results into a formatted digest card and post to the sales leadership Microsoft Teams channel

Connectors Used: Microsoft Dynamics 365, Microsoft Teams

Template

Capture Teams Meeting Outcomes and Log to Dynamics 365

This template sends an adaptive card in Teams after a scheduled meeting, collects outcome notes and next steps from the sales rep, and creates an activity log entry on the relevant Dynamics 365 opportunity or account record.

Steps:

  • Trigger: Scheduled trigger or manual initiation sends an adaptive card to the sales rep in Microsoft Teams
  • Collect: Rep fills in meeting outcome, action items, and links the record to a Dynamics 365 opportunity or account
  • Action: Tray.ai creates a new activity or note record in Microsoft Dynamics 365 with the submitted details

Connectors Used: Microsoft Dynamics 365, Microsoft Teams

Template

Route Dynamics 365 Discount Approvals via Teams Interactive Cards

When a discount request is submitted in Dynamics 365, this template sends an interactive approval card to the appropriate manager in Teams. The manager's in-card response triggers an automatic update to the Dynamics 365 opportunity record.

Steps:

  • Trigger: Discount approval request field updated in Microsoft Dynamics 365 opportunity record
  • Action: Send an interactive adaptive card to the approving manager in Microsoft Teams with deal details and approve/reject buttons
  • Update: Based on the manager's Teams response, tray.ai updates the opportunity status and discount approval field in Microsoft Dynamics 365

Connectors Used: Microsoft Dynamics 365, Microsoft Teams