Skip to main content
The Dynamics 365 connector allows you to integrate Dynamics 365 into your data flow by pushing or pulling data from Dynamics 365.

Key Capabilities

  • Microsoft Dynamics 365 integration with multiple Azure authentication schemes
  • Standard database connector actions (Select, Lookup, Upsert, and Stored Procedure) for data manipulation
Follow the steps below to connect Arc to Dynamics 365.

Establish a Connection

To allow Arc to use data from Dynamics 365, you must first establish a connection to Dynamics 365. There are two ways to establish this connection:
  • Add a Dynamics 365 connector to your flow. Then, in the settings pane, click Create next to the Connection drop-down list.
  • Open the Arc Settings page, then open the Connections tab. Click Add, select Dynamics 365, and click Next.
  • The login process is only required the first time the connection is created.
  • Connections to Dynamics 365 can be re-used across multiple Dynamics 365 connectors.
Follow these steps to finish creating your connection:
  1. Enter the following connection information in the Add Connection modal:
    • Name — The static name of the connection. Set a name of your choice.
    • Type — The connector name. This field is always set to Dynamics 365.
    • Organizational URL — The URL to your Microsoft Dynamics 365 organization.
    • Edition — The Microsoft Dynamics 365 edition. The following editions are supported: CustomerService, FieldService, FinOpsOnline, FinOpsOnPremise, HumanResources, Marketing, ProjectOperations, and Sales.
    • Auth Scheme — The auth scheme to use for the connection. Options are AzureAD, AzureServicePrincipal, and AzureMSI.
    • Azure Tenant — The tenant Id of your Microsoft Azure Active Directory.
    • OAuth Grant Type — The grant type to use to get tokens (AzureAD and AzureServicePrincipal auth schemes only.) Options are Code, Client, and Password.
    • OAuth Client Id — The client Id for your account. (Client grant type only.)
    • OAuth Client Secret — The client secret for your account. (Client grant type only.)
  2. If necessary, click Advanced to open the drop-down menu of advanced connection settings. These settings should not be needed in most cases.
  3. Click Connect to ensure that Arc can connect to Dynamics 365 with the provided information. If an error occurs, check all fields and try again.
  4. Click Add Connection to finalize the connection.
  5. Select the newly created connection from the Connection drop-down list that appears on the Settings tab of the Configuration pane.
  6. Click Save Changes.

Select an Action

After establishing a connection to Dynamics 365, you must choose the action that the Dynamics 365 connector will perform. The table below outlines each action and where it belongs in an Arc flow.

Advanced Tab

Many of the settings on the Advanced tab are dynamically loaded from the data source you are working with, so they are not covered in this documentation. You can find detailed information for your data source on the Online Help Files page of the CData website. The options described below are available for all data sources.

Message

The Save to Sent Folder and Sent Folder Scheme settings are deprecated and hidden by default. They appear only on connectors where they were previously enabled or configured to a non-default value. To retain copies of successfully processed files, right-click the connector in the flow, choose Show Success Path, and connect the success path to a File connector.

Advanced Settings

Advanced settings are common settings for connectors that rely on arbitrary database drivers (for example, Database, CData, and API connectors) in order to make connections to various data sources.

Miscellaneous

Miscellaneous settings are for specific use cases.

Automation Tab

Automation Settings

Settings related to the automatic processing of files by the connector.

Performance

Settings related to the allocation of resources to the connector.

Alerts Tab

Settings related to configuring alerts. Before you can execute Service Level Agreements (SLAs), you need to set up email alerts for notifications. By default, Arc uses the global settings on the Alerts tab. To use other settings for this connector, toggle Override global setting on. By default, error alerts are enabled, which means that emails are sent whenever there is an error. To turn them off, uncheck the Enable checkbox. Enter a Subject (mandatory), then optionally enter a comma-separated list of Recipient emails.

SLAs Tab

Settings related to configuring Service Level Agreements (SLAs). SLAs enable you to configure the volume you expect connectors in your flow to send or receive, and to set the time frame in which you expect that volume to be met. Arc sends emails to warn the user when an SLA is not met, and marks the SLA as At Risk, which means that if the SLA is not met soon, it will be marked as Violated. This gives the user an opportunity to step in and determine the reasons the SLA is not being met, and to take appropriate actions. If the SLA is still not met at the end of the at-risk time period, the SLA is marked as violated, and the user is notified again. To define an SLA, toggle Expected Volume on, then click the Settings tab. Empty SLA configuration
  • If your connector has separate send and receive actions, use the radio buttons to specify which direction the SLA pertains to.
  • In the Expect at least portion of the window:
    • Set the minimum number of transactions you expect to be processed (the volume)
    • Use the Every fields to specify the time frame
    • Indicate when the SLA should go into effect. If you choose Starting on, complete the date and time fields.
    • Check the boxes for the days of the week that you want the SLA to be in effect. Use the dropdown to choose Everyday if necessary.
  • In the Set status to ‘At Risk’ portion of the window, specify when the SLA should be marked as at risk.
    • By default, notifications are not sent until an SLA is in violation. To change that, check Send an ‘At Risk’ notification.
The following example shows an SLA configured for a connector that expects to receive 1000 files every day Monday-Friday. An at-risk notification is sent 1 hour before the end of the time period if the 1000 files have not been received. SLA Configuration Example
You can turn off SLA alerts if necessary. This can be useful during maintenance windows. Click Settings on the navbar, then navigate to Alerts > General Alerts. Click the tablet and pencil icon to edit, and uncheck the SLA Alerts setting.

Macros

Using macros in file naming strategies can enhance organizational efficiency and contextual understanding of data. By incorporating macros into filenames, you can dynamically include relevant information such as identifiers, timestamps, and header information, providing valuable context to each file. This helps ensure that filenames reflect details important to your organization. Arc supports these macros, which all use the following syntax: %Macro%.

Examples

Some macros, such as %Ext% and %ShortDate%, do not require an argument, but others do. All macros that take an argument use the following syntax: %Macro:argument% Here are some examples of the macros that take an argument:
  • %Header:headername%: Where headername is the name of a header on a message.
  • %Header:mycustomheader% resolves to the value of the mycustomheader header set on the input message.
  • %Header:ponum% resolves to the value of the ponum header set on the input message.
  • %RegexFilename:pattern%: Where pattern is a regex pattern. For example, %RegexFilename:^([\w][A-Za-z]+)% matches and resolves to the first word in the filename and is case insensitive (test_file.xml resolves to test).
  • %Vault:vaultitem%: Where vaultitem is the name of an item in the vault. For example, %Vault:companyname% resolves to the value of the companyname item stored in the vault.
  • %DateFormat:format%: Where format is an accepted date format (see Sample Date Formats for details). For example, %DateFormat:yyyy-MM-dd-HH-mm-ss-fff% resolves to the date and timestamp on the file.
You can also create more sophisticated macros, as shown in the following examples:
  • Combining multiple macros in one filename: %DateFormat:yyyy-MM-dd-HH-mm-ss-fff%%EXT%
  • Including text outside of the macro: MyFile_%DateFormat:yyyy-MM-dd-HH-mm-ss-fff%
  • Including text within the macro: %DateFormat:'DateProcessed-'yyyy-MM-dd_'TimeProcessed-'HH-mm-ss%