Revoke access for expired connection
Summary
This issue is caused by a Salesforce security policy that automatically expires refresh tokens after a maximum of 30 days of inactivity. Once the token expires, the connection between Salesforce and Confluence stops working, and all data syncs that rely on it will fail until an administrator reauthorizes it.
No data is lost when a connection expires. Existing content in both Salesforce and Confluence is unaffected. Only new syncs are paused until the connection is reauthorized.
Symptoms
You may encounter the Salesforce authorization failed error when a connection has expired. Data syncs between Salesforce and Confluence will stop working until the connection is reauthorized.
Before you start
Make sure you have:
Administrator access in Confluence - only administrators can revoke the connection.
Resolution
Step 1 is required for all customers. Step 2 is needed if you also use Connections in Salesforce.
1. Revoke access for the connection
Go to Confluence administration (
).
In the left sidebar under Settings, navigate to Salesforce > Connections.
Select the expired connection and click Revoke Access.
Click Authorize.
Sign in with Salesforce credentials when prompted.
2. Add the Access Token in the Salesforce connection
In Salesforce, click Settings > Setup.
In the sidebar, use Quick Find and search for Package, then go to Installed Packages.
Look for Confluence Cloud for Salesforce and click Configure.
Click Revoke next to the connection.
Switch to Confluence.
Under Salesforce, click Connections.
Click Menu (
)> API Access Token.
The Access Token dialog window appears with the access token.
Copy the Salesforce access token and save it.
Under Access Token, paste the new Access Token you copied in step 9.
Click Save.