---
title: "Microsoft Dynamics 365 integration for AI agents | Langdock"
description: "Connect Microsoft Dynamics 365 to Langdock. Agents and workflows can use 12 actions, such as “Close opportunity as lost” and “Close opportunity as won”."
url: "https://langdock.com/integrations/microsoft-dynamics-365"
language: "en"
---

[Integrations](https://langdock.com/products/integrations)

# Microsoft Dynamics 365 integration for AI agents

Qualify leads, close opportunities, and manage records in any table

Connect Microsoft Dynamics 365 to Langdock and use it in chat, in agents and in workflows.

12 actions

[Start free trial](https://app.langdock.com/signup) [Talk to sales](https://langdock.com/talk-to-sales)

## Microsoft Dynamics 365 actions

Each action is one step an agent or workflow can run in Microsoft Dynamics 365.

- Close opportunity as lost

  Add-on action (Dynamics 365 Sales) — requires the Sales app on the connected Dataverse environment. Closes an opportunity as Lost via the LoseOpportunity operation, which sets the opportunity state to Lost and logs an opportunity-close activity.
- Close opportunity as won

  Add-on action (Dynamics 365 Sales) — requires the Sales app on the connected Dataverse environment. Closes an opportunity as Won via the WinOpportunity operation, which sets the opportunity state to Won and logs an opportunity-close activity.
- Create record

  Creates a new record in a Dataverse table and returns the created record including its generated primary key.
- Delete record

  Deletes a Dataverse record by GUID from a specified entity set. This permanently removes the record.
- Describe table

  Describes a single Dataverse table: its primary ID and name attributes plus its columns (logical name, type, required level). Use this to discover the exact column names before listing, creating, or updating records.
- Disqualify lead

  Add-on action (Dynamics 365 Sales) — requires the Sales app on the connected Dataverse environment. Disqualifies a lead by setting its state to Disqualified with a status reason such as Lost or No longer interested.
- Get record

  Gets a single Dataverse record by its GUID from a specified entity set, with optional column selection and related-record expansion.
- List records

  Lists records from a Dataverse table using OData query options. Supports column selection, filtering, and ordering. Results are paginated internally up to the requested limit.
- List tables

  Lists available Dataverse tables (entities) in the environment, returning each table's logical name, entity-set name, and display name.
- Qualify lead

  Add-on action (Dynamics 365 Sales) — requires the Sales app on the connected Dataverse environment. Qualifies a lead via the QualifyLead operation, optionally creating a linked account, contact, and opportunity, and returns references to the records created.
- Recalculate opportunity

  Add-on action (Dynamics 365 Sales) — requires the Sales app on the connected Dataverse environment. Recalculates the actual value of a won opportunity via the CalculateActualValueOpportunity operation. Use after editing opportunity products or revenue to refresh the rolled-up value.
- Update record

  Updates an existing Dataverse record by GUID. Only the supplied columns are changed; the record is not created if it does not exist.

## Setup and permissions

An action can ask for your confirmation before it runs. In an agent, each action is set to “Always allow” or “Needs approval”.

### Documentation

- [Microsoft permissions for Microsoft Dynamics 365](https://docs.langdock.com/en/admin/manage-integrations/microsoft-integration-scopes/dynamics-365)
- [Using integrations](https://docs.langdock.com/en/using-langdock/guides/integrations/using-integrations)
- [How connections work](https://docs.langdock.com/en/using-langdock/integrations/connections)
- [Manage access to actions](https://docs.langdock.com/en/admin/manage-integrations/manage-action-access)

[All integrations](https://langdock.com/products/integrations)
