D365 Finance and Operations
Dynamics 365 Finance and Operations is Microsoft's business system for money, supply chain and (through the same service) human resources, and this connector lets TAO look up records in it, count them, and, with a person's approval, create, change or delete them.
In the Connectors list the card is called Dynamics 365 Finance & Operations + HR. Finance and HR share one service in Microsoft's design, so one connection covers both.
What you can do
Illustrative examples of what you might ask TAO once it is connected.
- "Which customers are on credit hold in Dynamics 365?"
- "How many open sales orders do we have across all companies?"
- "What fields do I need to create a vendor?"
- "Put customer US-001 on credit hold." (TAO prepares the change. A person approves it first.)
Before you connect
You need three things from your Dynamics 365 and Microsoft Entra administrator. Entra is Microsoft's sign-in service. A tenant is your company's own Microsoft account space.
| What | Where it comes from |
|---|---|
| Dynamics 365 environment URL | The address of your own environment, for example https://contoso.operations.dynamics.com. No /data and nothing after it. Copy it from Lifecycle Services or the browser address bar. |
| Microsoft Entra directory (tenant) ID | On the Overview page of an app registration in Entra. A tenant domain such as contoso.com also works. |
| Application (client) ID and secret Value | From the same app registration. The secret is a password-like code that lets TAO sign in as that app. |
Two setup steps happen inside Dynamics 365 itself:
- Map the app's client ID to a dedicated service account under System administration > Setup > Microsoft Entra applications. Microsoft's own advice is to avoid the Admin account.
- Give that account the permission to use the OData data service. This is separate from the permission to import data files. An account that can import files may still be refused here.
Your platform administrator must also turn the connector on under Admin > Platform Config > Connectors. It is added switched off.
Connect it
Open the connector list
Go to Settings > Connectors (the My Connectors page) and find Dynamics 365 Finance & Operations + HR.
Click Add
A window opens for the connection.
Paste the client ID and secret
In the secret box, enter the two values joined by a colon, in the form
clientId:clientSecret. Use the secret Value, not its Secret ID. The Certificates and secrets screen in Entra shows both columns. If you use the wrong one, or leave out the colon, Entra returns a general "invalid client" error that does not say which half is wrong.Fill in the environment fields
Enter the Dynamics 365 environment URL and the Microsoft Entra directory (tenant) ID. Both are required. Leave Entra sign-in host (national clouds only) blank unless you use a US Government or China (21Vianet) Microsoft cloud.
Save
Click Save. You can then use Verify on the connection row. It checks that the saved secret can be read and has the right shape. It does not contact Dynamics 365.
Tools
This connector has 8 tools: 5 reads, 2 changes that wait for human approval, and 1 delete that cannot be undone.
Dynamics 365 does not publish a fixed list of its data names (called entities). They differ by environment and carry version endings, such as CustomersV3 rather than Customers. So TAO starts with the two describe tools to find the right name and fields before it does anything else.
| Tool name | What it does | Read or Write |
|---|---|---|
d365_describe_entities | Finds which entities your environment offers. Narrow it with a short name fragment, because an environment can have over 1,500. | Read |
d365_describe_entity_fields | Lists one entity's fields, its key and the allowed values of choice fields. The key is often made of several fields and usually includes the company code. | Read |
d365_get_record | Reads one record by its full key. | Read |
d365_query_entity | Searches an entity with filters, field choices and sorting. Needs a company scope (see below). | Read |
d365_count_entity | Counts matching records without listing them. Also needs a company scope. | Read |
d365_create_record | Creates a record. Waits for human approval. | Write (approval) |
d365_update_record | Changes fields on an existing record. Waits for human approval. After the change, TAO reads the record back and reports any value Dynamics changed on its own. | Write (approval) |
d365_delete_record | Permanently deletes a record. Waits for human approval. TAO must also confirm a descriptive value, such as a customer name, read from the record. A key or company code is refused as the confirmation. | Write (approval, cannot be undone) |
Total: 8 tools.
Limits and good to know
- Company scope has no default. By default Dynamics 365 returns only one company's rows. So searches and counts require TAO to choose a company scope, and results report which companies they covered. If a result says an empty answer is inconclusive, the search did not finish. It does not prove nothing matches.
- HR is only partly checked. The code says HR coverage is partly unverified. There is no HR trial template from Microsoft, so no one could test the HR entities. A "not found" on an HR entity most likely means HR is not licensed on your environment.
- Not yet checked against a live system. The product notes describe the connector as built and gated, with a first test against a real trial environment still to do.
- Updates are not trusted blindly. A successful reply does not prove the value was stored, so every update is read back.
- Delete is permanent. The delete tool is the only one that cannot be undone.
- Rate limits. Microsoft publishes no number for the environment-wide limit. TAO's error message names the environment-wide cause as the likelier one.
- Slow first call. The first call after Dynamics restarts can be slow. TAO reports that as "metadata not cached, retry" rather than "unreachable".
- Cloud only. On-premises Dynamics 365 has no data service of this kind, so it is not supported.