You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-[Failed to obtain the JSON web token (JWT) by using the service principal client ID](#failed-to-obtain-the-jwt-by-using-the-service-principal-client-id)
60
60
-[Azure subscription isn't passed from the previous task output](#azure-subscription-isnt-passed-from-the-previous-task-output)
61
61
-[What authentication mechanisms are supported? How do managed identities work?](#what-authentication-mechanisms-are-supported-how-do-managed-identities-work)
@@ -185,7 +185,7 @@ To resolve this issue, ask the subscription administrator to [assign you the app
185
185
1. Clear your browser cache and cookies to ensure that any old tokens are removed.
186
186
1. From the Azure DevOps portal, go to the service connections, and reauthorize the connection to Azure. This step prompts Azure DevOps to use a new token.
187
187
188
-
### Service principal's token expired
188
+
### Service principal or secret expired
189
189
190
190
An issue that often arises with service principals or secrets that are automatically created is that the token expires and needs to be renewed. If you have an issue with refreshing the token, see [Failed to obtain an access token or a valid refresh token wasn't found](#failed-to-obtain-an-access-token-or-a-valid-refresh-token-wasnt-found).
191
191
@@ -197,11 +197,11 @@ If your token expired, you could see one of the error messages:
197
197
198
198
To renew the access token for an automatically created service principal or secret:
199
199
200
-
1. Go to **Project settings** > **Service connections**, and then select the service connection you want to modify.
200
+
1. Go to **Project settings** > **Service connections**, and then select the service connection you want to refresh.
201
201
202
-
1. Select **Edit** in the upper-right corner.
202
+
1. Select **Rotate secret**.
203
203
204
-
1. Select **Save**.
204
+
:::image type="content" source="media/azure-rm-endpoint/rotate-secret.png" alt-text="Screenshot of option to rotate an ARM secret. ":::
205
205
206
206
The token for your service principal or secret is now renewed for three more months.
0 commit comments