Microsoft Dynamics CRM Integration AMPscript Functions

Use the Microsoft Dynamics CRM AMPscript functions to interact with data in a Microsoft Dynamics CRM instance that is integrated with Marketing Cloud Engagement.

This table lists all of the AMPscript functions related to working with Microsoft Dynamics CRM. The value in the Engagement column indicates whether Marketing Cloud Engagement supports the function. The value in the Next column indicates whether Marketing Cloud Next supports the function.

Function NameDescriptionEngagementNext
AddMscrmListMember()Adds a record to a Microsoft Dynamics CRM marketing list.✅ Yes❌ No
CreateMscrmRecord()Creates a record in a Microsoft Dynamics CRM entity.✅ Yes❌ No
DescribeMscrmEntities()Returns the logical and display names of all Microsoft Dynamics CRM entities.✅ Yes❌ No
DescribeMscrmEntityAttributes()Retrieves information about the attributes of a Microsoft Dynamics CRM entity.✅ Yes❌ No
RetrieveMscrmRecordsFetchXml()Returns the attributes specified in a Fetch XML query.✅ Yes❌ No
RetrieveMscrmRecords()Retrieves data from Microsoft Dynamics CRM entities.✅ Yes❌ No
SetStateMscrmRecord()Sets the state and status of a Microsoft Dynamics CRM record.✅ Yes❌ No
UpdateMscrmRecords()Updates one or more records in a Microsoft Dynamics CRM entity.✅ Yes❌ No
UpsertMscrmRecord()Upserts a Microsoft Dynamics CRM record.✅ Yes❌ No