You are here:
Troubleshoot Personalization Integration with Salesforce CRM
Troubleshoot common issues with the integration between Marketing Cloud Personalization and Salesforce CRM. Changes to any Salesforce CRM security settings—at the OAuth App level, the Salesforce User level, or the Field Security level—can disrupt the integration.
Required Editions
| Permissions Needed | |
|---|---|
| To troubleshoot data synchronization: | A role with Administrator permissions |
- If the integration isn’t working as expected, and you have made security changes, you must reconfigure the integration.
-
Check your security settings in Salesforce CRM.
- Confirm you have permissions selected for View Setup and Configuration.
- Set Permitted Users to All users may self-authorize.
- Under OAuth Policies, set Refresh token policy to Refresh token is valid until revoked.
- In Personalization, select Third Party > Integration Setup.
- Select Salesforce CRM.
-
Check the status of the last synchronization job in the Status Message section.
Review the status message. Click the status message to see details, if
available.
Message details can include references to the CRM Jobs. You can find more information about the execution of those jobs in your Salesforce CRM environment.
-
If the error detail includes any of the following error messages, complete the
steps that follow to resolve the error:
Error Description Error refreshing Salesforce OAuth token Token validity expired Error refreshing Salesforce OAuth token Expired access/refresh token Error refreshing Salesforce OAuth token inactive user INSUFFICIENT_ACCESS Use of the Metadata API requires a user with the ModifyAllData permission - In Salesforce CRM, ensure the profile of the user establishing the OAuth connection has the ModifyAllData permission. This permission is necessary for Personalization to create custom fields using the Metadata API.
- Select Setup | Manage Apps | Connected Apps.
-
Edit the Personalization connected app (your integration can be named
differently).
- In OAuth policies, confirm Permitted Users is set to All users may self-authorize, and that Refresh Token Policy is set to Refresh token is valid until revoked. Make any necessary changes and click Save.
- At the top of the page next to your name, select Setup.
- Under Build, select Create | Apps.
- Under Connected Apps, click the name of the Personalization app. Don’t click Edit or Manage.
- In Personalization, select Third Party | Integration Setup.
- Select Salesforce CRM.
- Expand Connect to Salesforce.
- Copy the Consumer Key and the Consumer Secret from Salesforce CRM to Personalization.
- Click Establish Connection.
- Click Synchronize Now.
Did this article solve your issue?
Let us know so we can improve!

