Dynamics CRM Output Tool
Use the Dynamics CRM Output tool to write updated data, including the deletion of data, from your Alteryx workflow to entities stored in a Microsoft Dynamics CRM instance.
Gallery tool
This tool is not automatically installed with Alteryx Designer. To use this tool, download it from the Alteryx Analytics Gallery.
Configure the tool
- Open the Configuration window for the Dynamics CRM Input tool.
- In Organization URI, enter the base URL of the Dynamics CRM instance.
Example
https://mycompanyname.crm.dynamics.com/
- In Azure Active Directory tenant ID, enter the unique identifier for the Azure Active Directory tenant associated with the Dynamics CRM instance. See Find your Office 365 tenant ID in the Microsoft Documentation.
- In Client ID, enter the application user role ID. See Azure Active Directory Setup.
- In Client secret key, enter the secret key for the application user role ID. See Azure Active Directory Setup.
- From Authentication type, select one of the following options:User login
Access to Dynamics CRM entities are based on the permissions granted to your user account.
- Click Login.
- Enter your Azure Active Directory user name and password.
Application loginAccess to Dynamics CRM entities are based on the permissions granted to the security role associated with the application user role. See Azure Active Directory Setup.
Click Login.
After logging in, the Output Entity Configuration window displays.
- From Entity output, select the destination Dynamics CRM entity.
- From Output operation, select one of the following options:Update or insert
Existing Dynamics CRM entity properties are updated based on a match between the Alteryx workflow field name and the entity's field name. If a match does not exist, a new entity record is inserted.
DeleteExisting Dynamics CRM entity properties are delete if a match between the Alteryx workflow field name and the entity's field name exists. If a match does not exist, the Alteryx workflow fields are ignored.
Important
For data to match between an Alteryx workflow and the destination entity, the column names must match. In the case of a Delete or Update operation, the workflow must supply values for the destination entity's primary key fields. For an Insert operation, omit data for the primary key fields on the destination entity to automatically generate a new ID.