Skip to main content

Refresh Access Tokens

You can refresh your access tokens at any time before they expire, which is usually 90 days.

To ensure workflows continue running on Server, you need to:

  1. Connect through Designer to update the DCM connection with a new refresh token.

  2. Sync the DCM connection to Server.

Update the DCM Connection with a New Refresh Token

  1. Drag a Microsoft connector tool to the canvas, and select Setup Connection in the tool configuration.

  2. Select the connection that requires the token to be refreshed.

  3. Select Connect.

    • If the refresh token has already expired, this will prompt you to sign in again.

    • If the refresh token hasn't yet expired, Alteryx will use the existing refresh token to request a new refresh token for you and save the new refresh token in DCM. You shouldn't have to complete the browser sign in.

Notes

  • Tokens don't expire based on sign in policies.

  • Tokens don't expire when you change a password or when a password expires.

  • Tokens automatically expire once their designated lifetime period has elapsed. The default is 90 days.

  • Tokens expire if an administrator revokes them.

    • On Server, workflows will stop running and display an authentication error.

    • In Designer, selecting the tool UI will prompt a sign in and redirect to the browser for authentication.

    • Selecting Connect in a new connector tool will prompt a sign in and redirect to the browser for authentication.

Additional Resources

Refresh tokens in the Microsoft identity platform

Configure adaptive session lifetime policies

Sync the DCM Connection to Server

  1. Go to File > Manage Connections.

  2. Select Synchronize in the left-hand side menu.

  3. Select the Server you'd like to synchronize your new token to.

  4. Select Synchronize.

Workflows will continue running on Server with the new token.