This article outlines the admin steps to sync Timeline activities from Gainsight to Dynamics 365, along with supported field mappings and common error handling scenarios.
Overview
Gainsight supports writing back Timeline activities to Microsoft Dynamics, enabling enhanced cross-functional visibility and collaboration. This integration ensures that updates made in Gainsight are seamlessly reflected in Dynamics, keeping Customer Success Managers (CSMs) and other teams aligned on customer interactions.
This functionality improves operational efficiency by:
Reducing redundant data entry
Promoting a unified view of customer engagements
Preserving activity context and stakeholder details across systems
Prerequisites
Ensure a seamless sync of Timeline Activities from Gainsight to Microsoft Dynamics by meeting the following prerequisites:
Configure and authorize an active Dynamics connection on the Connectors 2.0 page.
Ensure that the user, company, activity and activity party data are in sync through connector jobs.
IMPORTANT: Syncing Timeline activities to Dynamics 365 is supported only from the Timeline Admin view. It is not supported using the Rules Engine – Load to Dynamics option.
Sync Timeline Activities to Dynamic 365
If you are an admin, follow the steps below to Sync Timeline Activities to Dynamic 365:
Navigate to Administration > Timeline > Activity Sync.
Note: The Activity Sync tab is visible when an active Dynamics or Salesforce connection is configured on the Connectors 2.0 page.
From the Select your connection dropdown list, choose an active Dynamics or Salesforce connection configured through Connectors.
Note:
While selecting a connection, consider the following:Only one Dynamics connection can be used to sync activities to Dynamics 365 at a time.
User, Company, and Company Person information also syncs from Dynamics to gainsight through the same connection.To avoid data loss or writeback failures, ensure the same connection is used for syncing activities both from Gainsight to Dynamics and vice versa. This is required because bidirectional sync relies on connection-specific identifiers.

Turn on the Sync Timeline activities to Dynamics 365 toggle.
Note: You must map the Timeline Activity Type to the corresponding Dynamics 365 Object using the dropdown list.
From the Activity Type dropdown list, select an activity type. The Activity Type dropdown includes all active Standard and Custom Timeline Activity Types.

From the Dynamic 365 Object dropdown list, select the corresponding object. Gainsight currently supports Phone Call, Email, and Appointment as Dynamics 365 objects.
Note: You can sync multiple activity types to a single Dynamic 365 Object.
Field Mapping
After mapping the Activity Type to a Dynamics 365 object, the admin can configure field mappings using Map Fields to ensure a successful sync. Once the above steps 1–5 are complete, follow these steps to map fields:
Click Map Fields. The Field Mapping slide-out panel appears.
Some Source and Target fields are predefined. To add additional fields, click Add Fields.
The following table shows the configured source-to-target field mappings:Source (Activity Timeline Fields)
Target (Email Fields)
Target (Phone Call)
Target (Appointment)
Subject
Subject
Subject
Subject
Author ID
Owner
Owner
Owner
Company/Relationship ID
Regarding
Regarding
Regarding
Notes
Description
Description
Description
Activity Date
Configurable by Admins
Configurable by Admins
Configurable by Admins
You can add two types of field:
Source Field: All standard and custom fields relevant to the activity type appear in the Source dropdown. To map a value, select a source field and pair it with the corresponding target field.

Custom Field: Use this option to assign a default value to a dynamics field. Perform the steps below to add a custom field:
From the Target dropdown list, select a value.
Note: The available options are Status and Status Reason.In the Source, enter the value you want to map.

Ensure all required fields are mapped before saving.
Click Done to save the mappings.
Use the Plus icon to add a new row and Delete icon to remove the mapping or row.
Note: To save the activity type mapping, complete all required field mappings first.
Click Save. Changes are saved and all other dynamic connections are hidden from the connection dropdown list.
Note: The Sync Timeline activities to Dynamics 365 toggle can be turned on or off at any time. Deactivating the toggle stops the sync, but the Activity Type Mapping data is retained.
IMPORTANT: Any activity created or updated in Gainsight that matches the sync configuration is synced to Dynamics 365 in real time. There are no scheduled jobs for syncing activities from Gainsight to Dynamics 365.
Note:
For custom dropdown fields, such as Activity Reasons and Activity Reason Details, Gainsight relies on consistent label values across Gainsight and Dynamics 365 for successful sync. Admins must manually maintain value consistency, as automatic syncing of dropdown values is not supported.
Total Engagement Effort is a number field in both systems, and values are currently synced without any conversion.
Attendees mapped to From or Call From fields in Dynamics 365 must include only one party; otherwise, the activity sync will fail.

Activity Sync Between Gainsight and Dynamics 365
A sample activity shown below is logged to the Timeline. Once a Timeline activity is saved or updated in Gainsight, it is synced to Dynamics 365.

The activity is synced to Dynamic 365, with the field values synced from Gainsight.

Dynamic Activities in Gainsight and Sync Status
You can use the Activity Timeline object to gain insights into the sync status between Gainsight and Dynamics 365, and to identify the Activity ID in Dynamics 365
To see the sync status, in the Show Me section of Reports, add the following:
Activity Id
Dynamic Activity ID field to identify the activity ID created in Dynamics 365.
GS to Dynamics Sync Status field to check the synchronization status.

Note
If the Dynamics Activity ID is populated and the GS to Dynamics Sync Status is null, it indicates that the activity was synced from Dynamics 365 to Gainsight.
If the GS to Dynamics Sync Status field shows Success or Failed, it reflects whether the activity created in Gainsight was successfully synced back to Dynamics 365.
Error Handling and Log Review
Admins can view error logs for failed syncs between Timeline and Dynamics 365 using the Gainsight Error Logs object in Reports.
Perform the steps below to review the error logs in reports:
Navigate to Insights > Reports.
Click Create Report.
From the Select Object dropdown list, select Gainsight Error Logs object.
In the Show Me section, add fields like Area Name, Entity ID, Entity Type, Message, Exception Type and Name.

Click Add Filter on Fields and filter Exception Type by GS_D365_ACTIVITY_SYNC_ERROR to view the list of sync errors.

Click Run Report.

The error logs are shown in the Message column.
Below are the description of fields on Report page:
Entity ID: Displays the Dynamics External ID in the activity logs and reports for reference.
Entity Type: Indicates the entity as Activity.
Area Name: ANT (Activity and Timeline).
Last Modified Date: Defines the range of activities you want to view.
Note:
If the Gainsight activity owner does not exist as a user in Dynamics 365, the activity is not created in Dynamics 365.
If the activity type is updated for an existing activity, the sync currently fails because the original activity type already exists.
Common Activity Sync Failure Scenarios and Exceptions
The following scenarios may result in exceptions or failures during activity sync between Gainsight and Dynamics 365:
The Gainsight account associated with the activity is not found in Dynamics 365.
The activity owner is not found as a user in Dynamics 365. This may also occur if the party ID has not been synced from Dynamics 365 to Gainsight for the user.
One or more internal or external attendees are not found as users in Dynamics 365.
The activity type is updated in Gainsight and mapped to a different object in Dynamics 365. In this case, sync fails because the activity ID already exists in the original object.
Custom dropdown values (example: Activity Reasons, Activity Reason Details) do not match or exist in Dynamics 365.
More than one attendee is mapped to a field that accepts only a single participant (example, From or Call From in Email and Phone Call objects).
For any other system errors, the following message may appear: An unknown error occurred. Try again later. If the issue persists, contact your Gainsight Administrator for further assistance.
Manual Sync For Failed Activities
For activities that failed to sync to Dynamics 365, you can use the Run Manual Sync option to retry the sync process.
Gainsight recommends reviewing the error logs in Reports and addressing the issues before attempting a manual resync.
Once the errors are addressed, perform the steps below to run manual sync:
Navigate to Administration > Timeline > Activity Sync.
From the Manual Sync for Failed Activities section, click Run Manual Sync. The Run Manual Sync dialog box appears.
Note: You can sync failed activities for a certain time range using the Last Modified Date of the activity
From the Operator dropdown list, select an operator (equals or between).

If the Operator is set to equals, choose a value from the dropdown list.
If the Operator is set to between, select the custom dates for which you want to perform the resync and click Apply.

Click Run Sync.

Delete an Activity
When an activity is deleted in Gainsight, the deletion is also synced to Dynamics 365, which means the activity is removed from D365. However, when an activity is deleted in Dynamics 365, the ingestion sync through the connector does not delete the corresponding activity in Gainsight.
Restore a Deleted Activity
As an admin, you can restore deleted Timeline activities to re-establish sync between Gainsight and Dynamics 365. To restore an activity:
Navigate to Administration > Recycle Bin.
Select the checkbox next to the activity you want to restore.
Click Restore. A confirmation dialog box appears.

Click Restore to confirm. The status is changed to In Progress
Once the activity is restored, the status is updated to Completed. The restored activity resumes syncing with Dynamics 365.