---
title: "Revoke access for expired connection"
canonical: "https://support.appfire.com/space/477986818/3227582508/Revoke%20access%20for%20expired%20connection"
format: markdown
---
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 Jira stops working, and all automated workflows and data syncs that rely on it fail until an administrator reauthorizes it.

**No data is lost when a connection expires.** Existing records in both Salesforce and Jira are unaffected. Only new syncs and automated workflows are paused until the connection is reauthorized.

**Symptoms**

You may encounter the ** Salesforce authorization failed** error when a connection has expired. Automated workflows and data syncs between Salesforce and Jira will stop working until the connection is reauthorized.

## Before you start

Make sure you have:

- Administrator rights in Jira. Only administrators can revoke the connection.

## Resolution

Step 1 is required for all customers. Step 2 is needed if you also use the Jira Connections in Salesforce.

### **1. **Revoke access for the connection

1. In Jira, go to **Salesforce** > **Connections** from the top navigation bar.
2. Select the impacted connection, and click **Revoke Access**.
3. Click **Revoke **to** **confirm.
4. Click **Authorize**.
5. Sign in with Salesforce credentials when prompted.

### 2. Change the access token in the Salesforce connection

1. In Salesforce, click **Settings **>** Setup**.
2. In the sidebar, use **Quick Find** to find *Package* and go to **Installed Packages**.
3. Look for *Jira Server for Salesforce* and click **Configure**.
4. Click **Change access token** next to the connection.
5. Switch to Jira and go to **Salesforce** >**Connections**.
6. Click **Menu** ()> **API Access Token**.
7. The *API Access Token*** **dialog window appears with the **Access token.**
8. Copy the access token and save it.
9. Under **Access Token **in the *Change Access Token* window, paste the access token you have just copied in step 8.
10. Click **Save**.