> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Dynamics 365 Finance and Operations (Client Credentials)

> Integrate your application with the Microsoft Dynamics 365 Finance and Operations API using Client Credentials

## 🚀 Quickstart

Connect to Microsoft Dynamics 365 Finance and Operations (Client Credentials) with Nango and see data flow in 2 minutes.

**1. Create the integration**

In Nango ([free signup](https://app.nango.dev)), go to [Integrations](https://app.nango.dev/dev/integrations) -> *Configure New Integration* -> *Microsoft Dynamics 365 Finance and Operations (Client Credentials)*.

**2. Authorize Microsoft Dynamics 365 Finance and Operations (Client Credentials)**

Go to [Connections](https://app.nango.dev/dev/connections) -> *Add Test Connection* -> *Authorize*, then enter your **Tenant ID**, **Environment URL**, **Client ID**, and **Client Secret**. Later, you'll let your users do the same directly from your app.

**3. Call the Microsoft Dynamics 365 Finance and Operations API**

Let's make your first request to the Microsoft Dynamics 365 Finance and Operations OData API (list the data entities available in the environment). Replace the placeholders below with your [Environment API key](https://nango.dev/docs/reference/backend/http-api/api-keys.md), [integration ID](https://app.nango.dev/dev/integrations), and [connection ID](https://app.nango.dev/dev/connections):

> [tab] cURL
>
> ```bash theme={null}
> curl "https://api.nango.dev/proxy/data" \
>   -H "Authorization: Bearer <NANGO-API-KEY>" \
>   -H "Provider-Config-Key: <INTEGRATION-ID>" \
>   -H "Connection-Id: <CONNECTION-ID>"
> ```

> [tab] Node
>
> Install Nango's backend SDK with `npm i @nangohq/node`. Then run:
>
> ```typescript theme={null}
> import { Nango } from '@nangohq/node';
>
> const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
>
> const res = await nango.get({
>     endpoint: '/data',
>     providerConfigKey: '<INTEGRATION-ID>',
>     connectionId: '<CONNECTION-ID>'
> });
>
> console.log(res.data);
> ```

Or fetch credentials with the [Node SDK](https://nango.dev/docs/reference/backend/backend-sdk/node.md#get-a-connection-with-credentials) or [API](https://nango.dev/docs/reference/backend/http-api/connections/get.md).

✅ You're connected! Check the [Logs](https://app.nango.dev/dev/logs) tab in Nango to inspect requests.

**4. Implement Nango in your app**

Follow our [Auth implementation guide](https://nango.dev/docs/guides/primitives/auth.md) to integrate Nango in your app.

To obtain your own credentials, follow the [connect guide](https://nango.dev/docs/api-integrations/microsoft-dynamics-365-finance-and-operations-cc/connect) linked below.

## 📚 Microsoft Dynamics 365 Finance and Operations (Client Credentials) Integration Guides

Nango maintained guides for common use cases.

* [How do I link my account?](https://nango.dev/docs/api-integrations/microsoft-dynamics-365-finance-and-operations-cc/connect)
  Find your Tenant ID, Environment URL, Client ID, and Client Secret to connect Microsoft Dynamics 365 Finance and Operations

Official docs: [Service endpoints overview](https://learn.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/services-home-page)

## 🧩 Pre-built syncs & tools for Microsoft Dynamics 365 Finance and Operations (Client Credentials)

Explore Nango-provided tools in your dashboard. Extend and customize them to fit your needs.

### Others

| Function name | Description | Type |
| - | - | - |
| `create-customer` | Create a customer. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-free-text-invoice` | Create a free text invoice header | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-ledger-journal` | Create a general ledger journal header | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-purchase-order` | Create a purchase order header. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-sales-order` | Create a sales order header | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-sales-quotation` | Create a sales quotation header | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `create-vendor` | Create a vendor | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-free-text-invoice` | Delete a draft (unposted) free text invoice header. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-ledger-journal` | Delete a draft (unposted) general ledger journal header. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `delete-sales-quotation` | Delete a draft sales quotation header. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-customer-payment-journal` | Retrieve a customer payment journal header. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-customer` | Retrieve a customer. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-free-text-invoice` | Retrieve a free text invoice header | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-ledger-journal` | Retrieve a general ledger journal header. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-purchase-order` | Retrieve a purchase order header. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-released-product` | Retrieve a released product | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-sales-order` | Retrieve a sales order header. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-sales-quotation` | Retrieve a sales quotation header. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-vendor-payment-journal` | Retrieve a vendor payment journal header. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `get-vendor` | Retrieve a vendor. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-chart-of-accounts` | List charts of accounts. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-currencies` | List currencies configured for the tenant. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-customer-groups` | List customer groups (used as CustomerGroupId on customers). | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-customer-payment-journal-lines` | List customer payment journal lines, optionally scoped to a parent journal. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-customer-payment-journals` | List customer (AR) payment journal headers. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-customer-payment-methods` | List customer payment methods. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-customers` | List customers. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-free-text-invoice-lines` | List free text invoice lines, optionally scoped to a parent invoice. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-free-text-invoices` | List free text (miscellaneous) customer invoice headers. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-ledger-journal-lines` | List general ledger journal lines, optionally scoped to a parent journal. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-ledger-journals` | List general ledger journal headers | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-legal-entities` | List legal entities (companies/data areas). | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-main-accounts` | List general ledger main accounts. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-payment-terms` | List payment terms. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-purchase-order-lines` | List purchase order lines, optionally scoped to a parent purchase order. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-purchase-orders` | List purchase order headers. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-released-products` | List released products (items) | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-sales-order-lines` | List sales order lines, optionally scoped to a parent sales order. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-sales-orders` | List sales order headers. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-sales-quotation-lines` | List sales quotation lines, optionally scoped to a parent quotation. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-sales-quotations` | List sales quotation headers. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-tax-groups` | List sales tax groups. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-units-of-measure` | List units of measure. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-vendor-groups` | List vendor groups (used as VendorGroupId on vendors). | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-vendor-payment-journal-lines` | List vendor payment journal lines, optionally scoped to a parent journal. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-vendor-payment-journals` | List vendor (AP) payment journal headers. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-vendors` | List vendors. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-warehouses` | List warehouses. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `list-workers` | List workers (employees). | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-customer` | Update a customer. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-purchase-order` | Update a purchase order header | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-sales-order` | Update a sales order header. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `update-vendor` | Update a vendor. | [Tool](https://nango.dev/docs/guides/functions/tools.md) |
| `customer-payment-journals` | Sync customer (AR) payment journal headers | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `customers` | Sync customers. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `free-text-invoices` | Sync free text (miscellaneous) customer invoice headers. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `ledger-journals` | Sync general ledger journal headers. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `legal-entities` | Sync legal entities (companies/data areas). | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `main-accounts` | Sync general ledger main accounts | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `purchase-order-lines` | Sync purchase order lines. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `purchase-orders` | Sync purchase order headers | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `released-products` | Sync released products (items). | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `sales-order-lines` | Sync sales order lines. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `sales-orders` | Sync sales order headers. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `sales-quotations` | Sync sales quotation headers | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `vendor-payment-journals` | Sync vendor (AP) payment journal headers. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `vendors` | Sync vendors. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `warehouses` | Sync warehouses. | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |
| `workers` | Sync workers (employees) | [Sync](https://nango.dev/docs/guides/functions/syncs/sync-functions.md) |

## API gotchas

* You don't need to set a `scope` yourself — Nango generates it from the **Environment URL** you provide when connecting, and uses that same URL as the API base URL.

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.