This article contains a summary of how you can ensure Sonar syncs properly with Salesforce even if you have strict IP Restrictions.
Overview
In some cases, the sync between Sonar and Salesforce will fail due to IP restrictions in Salesforce. The sync fails because the refresh token that Sonar sends during sync is revoked because the IP address is not in a trusted range. This can also be compounded with the fact that Sonar's IP address comes from a wide range of addresses and not one single IP address because Sonar is set up on AWS.
The way to continue to enforce the IP restrictions but enable the sync with Sonar and Salesforce is to update the Sonar connected app in Salesforce and relax the IP Restrictions for the refresh tokens only.
For more information on this setting please the Salesforce documentation - Connected App IP Relaxation and Continuous IP Enforcement
Steps
- Ensure you have linked your Salesforce org to Sonar and initiated the first sync.
- Next, in Salesforce navigate to the Sonar connected App. Go to Setup | Manage Connected Apps | Sonar
- Next, click on Edit Policies
- Then, change the IP Relaxation to Enforce IP restrictions, but relax for refresh tokens then save.
Comments
0 commentsPlease sign in to leave a comment.