Migrating MS Dynamics CRM Snap Pack Pipelines to MS Dynamics 365 for Sales

Overview

SnapLogic deprecated the MS Dynamics CRM Snap Pack from the August 2022 4.30 release. Microsoft Dynamics 365 application supports all features and capabilities of Microsoft Dynamics CRM. Therefore, we recommend that you migrate your pipelines to use the MS Dynamics 365 for Sales Snaps instead of the MS Dynamics CRM Snaps.

Note:

Before you begin your migration:

  • Contact your Customer Success Manager (CSM) or SnapLogic Support to subscribe to the MS Dynamics 365 for Sales Snap Pack.
  • Compare the Snap settings of your MS Dynamics CRM Snaps with the corresponding settings in the MS Dynamics 365 for Sales Snaps.
  • Identify and map the accounts needed to authenticate the Snaps.

The MS Dynamics CRM Snap Pack is SOAP-based, and the MS Dynamics 365 for Sales Snap Pack is REST-based; therefore, the outputs of these Snaps differ.

Mapping Snaps and Parameters

Snaps Fields
MS Dynamics CRM MS Dynamics 365 for Sales MS Dynamics CRM MS Dynamics 365 for Sales
Dynamics CRM Create Dynamics 365 for Sales Create Label Label
Object type Object Type
Related object type Related Object Type
Related object relationship Related Object Relationship
Related object ID Related Object ID
Batch size Batch Size
-- Number of Retries
-- Retry Interval (seconds)
-- HTTP Header
  • Key
  • Value
Snap Execution Snap Execution
Dynamics CRM Delete Dynamics 365 for Sales Delete Label Label
Object type Object type
ID ID
Batch size Batch size
-- Number of Retries
-- Retry Interval (seconds)
-- HTTP Header
  • Key
  • Value
Snap Execution Snap Execution
Dynamics CRM Read Dynamics 365 for Sales Read Label Label
Object Type Object Type
ID ID
Page Size Page Size
Start Page Number Start Page Number
Max Page Number Max Page Number
Include name fields --
-- Read Query Fields
-- Number of Retries
-- Retry Interval (seconds)
-- HTTP Header
  • Key
  • Value
Snap Execution Snap Execution
Dynamics CRM Search Dynamics 365 for Sales Search Label Label
Object type Object type
Page Size Page Size
Start Page Number --
Max Page Number Max Page Number
Filter
  • Type
  • Attribute
  • Operator
  • Value
Filter Condition
  • Type
  • Attribute
  • Operator
  • Value
-- Query Parameters
  • Parameter
  • Value
Output attributes
  • Attribute
Output attributes
  • Name
-- Order By
  • Attribute
  • Sort Order
-- Number of Retries
-- Retry Interval (seconds)
-- HTTP Header
  • Key
  • Value
Snap Execution Snap Execution
Dynamics CRM Update Dynamics 365 For Sales Update Label Label
Object type Object type
ID ID
Related object type Related Object Type
Related object relationship Related Object Relationship
Related object ID Related Object ID
-- Update Multiple Objects
-- Upsert Query Fields
  • Upsert Query Field
-- Number of Retries
-- Retry Interval (seconds)
-- HTTP Header
  • Key
  • Value
Batch size Batch Size
Snap Execution Snap Execution
Dynamics CRM Upsert Dynamics 365 for Sales Upsert Label Label
Object type Object Type
ID ID
Related object type Related Object Type
Related object relationship Related Object Relationship
Related object ID Related Object ID
Upsert Multiple Objects Upsert Multiple Objects
Upsert Query Fields Upsert Query Fields
Upsert Query Field Upsert Query Field
Batch size Batch Size
-- Number of Retries
-- Retry Interval (seconds)
-- HTTP Header
  • Key
  • Value
Snap Execution Snap Execution
None Dynamics 365 for Sales Execute -- Label
-- Dynamics Organization URL
-- Object Type
-- HTTP Method
-- HTTP Request Body
-- Query Parameters
  • Parameter
  • Value
-- Number of Retries
-- Retry Interval (seconds)
-- HTTP Header
  • Key
  • Value
-- Snap Execution

Mapping Accounts and Parameters

Accounts Parameters
Dynamics CRM Accounts MS Dynamics 365 for Sales Accounts Dynamics CRM Accounts MS Dynamics 365 for Sales Accounts

ADFS Kerberos Account for CRM OnPrem

ADFS Kerberos Dynamic Account For CRM OnPrem

Dynamics 365 NTLM Account (On-premise) Label Label
Username Username
Password Password
Domain Domain
CRM Organization Service endpoint --
Kerberos distribution center --
Kerberos Realm --
Kerberos SPN --
CRM Organization Dynamics Organization URL
ADFS Mex URL --

Dynamics 365 Account for Online

Dynamics 365 Dynamic Account for Online

Dynamics 365 OAuth2 Account for Online Label Label
Username --
Password --
CRM Organization Service endpoint --
CRM Organization --
--

Dynamics Organization URL, Client ID, Client Secret, Access Token, Refresh Token, Access Token Expiration, Header Authenticated, OAuth2 Endpoint, OAuth2 Token, Token Endpoint Config, Auth Endpoint Config, Auto-Refresh Token, Authorize

Note: If you are using a new account, you must recreate custom objects and custom fields.

Output Differences Between Dynamics CRM and Dynamics 365 Snaps

The following table compares the output of the SOAP-based Dynamics CRM Snap Pack and the output of the REST-based MS Dynamics 365 for Sales Snap Pack.

Field Output in MS Dynamics 365 for Sales Output in Dynamics CRM
Object accountid — the unique ID generated after creating an account. guid
Batch Size

If Batch Size is 1, the Dynamics 365 for Sales Create, Update, and Upsert Snaps display the output as follows:


Batch Size 1 output in Dynamics 365 Create Snap

If Batch Size is more than 1, the output is as follows:


Batch Size more than 1 output

Migration Steps

To migrate existing MS Dynamics CRM Snap Pack pipelines to the MS Dynamics 365 for Sales:

  1. Remove the MS Dynamics CRM Snaps from your pipeline.
  2. Identify the corresponding Snaps in the MS Dynamics 365 for Sales Snap Pack.
  3. Replace CRM Snaps with MS Dynamics 365 for Sales Snaps.

    • If you are creating a new object, modify $guid to $accountid in the downstream Snap of the Dynamics 365 for Sales Create Snap.
  4. Add the accounts as applicable.

  5. Run your pipeline.

Example: Updating MS Dynamics CRM Snaps with MS Dynamics 365 for Sales Snaps

This example shows how to migrate a pipeline containing Dynamics CRM Create, Update, and Delete Snaps. Validating such a pipeline fails due to Microsoft's deprecation of the WS-Trust Security Protocol.

Download this pipeline.

The original pipeline:


Original MS Dynamics CRM pipeline

Step 1: Remove the Dynamics CRM Snaps from your pipeline and replace them with the MS Dynamics 365 for Sales Snaps.


Dynamics 365 for Sales replacement pipeline

Step 2: Map the properties of the Dynamics CRM Create Snap to the Dynamics 365 for Sales Create Snap. In this step, we are creating an account Object Type.


Dynamics CRM Create Snap configuration


Dynamics 365 for Sales Create Snap configuration

Step 3: Add an account for the replaced Dynamics 365 for Sales Create Snap.


Mapping account for Dynamics 365 for Sales Create Snap

Important: Add an appropriate account for all the replaced Dynamics 365 for Sales Snaps.

Step 4: Validate the pipeline. The output differs from the Dynamics CRM Create Snap — a unique accountid is generated instead of a guid.


Dynamics 365 for Sales Create Snap output

Step 5: Configure the Mapper Snap to pass accountid. In the Dynamics CRM Create Snap, the input property is $guid; change this to $accountid to pass the correct data to downstream Snaps.


Downstream Mapper Snap configuration (CRM $guid)


Mapper Snap configuration ($accountid)

Step 6: Validate the pipeline to view the updated output.


Mapper output for Dynamics 365

Step 7: Remove the Dynamics CRM Update Snap and replace it with the Dynamics 365 for Sales Update Snap.

Step 8: Map the settings in the Dynamics 365 for Sales Update Snap as follows:


Dynamics CRM Update Snap configuration


Dynamics 365 for Sales Update Snap configuration

Step 9: Validate the pipeline to view the Update Snap output.


Dynamics 365 for Sales Update Snap output

Step 10: Configure the Mapper Snap to map the settings for the Update Snap.


Downstream Mapper Snap configuration for Update


Mapper Snap configuration for Update

Step 11: Validate the pipeline. The account is updated as shown in the output.


Mapper output for Update step

Step 12: Remove the Dynamics CRM Delete Snap and replace it with the Dynamics 365 for Sales Delete Snap.


Dynamics CRM Delete Snap configuration


Dynamics 365 for Sales Delete Snap configuration

Step 13: Validate the pipeline. The object is deleted and you can view the deletion status in the output preview.


Dynamics 365 for Sales Delete output

Step 14: Run your pipeline.


Executed pipeline

See it in Action

The following video demonstrates how to migrate a pipeline from MS Dynamics CRM Snaps to MS Dynamics 365 for Sales Snaps.