Skip to main content

We are using Tableau Cloud with Alteryx. We are generating PERSONAL ACCESS TOKENS for our Publish to Tableau tools, but these tokens are expiring in less than one day! We are really in a rush before the change to MFA. Please somebody help.

3 answers
  1. Feb 1, 2023, 6:10 PM

    Update on this, hope you find it useful. The problem was a limit on number of tokens created.

     

    1) To create automated tasks such as extract refreshes with REST API in Tableau Cloud, the user authenticated needs to login using Personal Access Tokens (PAT's);

    2) Tableau recommends creating a token for each automated tasks that requires authentication;

    3) One personal token is required per concurrent request. While a PAT allows a user to create a session at a particular site and use that session to perform multiple tasks, logging in again using the same PAT (whether at the same site or a different site) will terminate the previous session and result in an authentication error.

    This means, if we need to run 100 extract refresh, we need 100 tokens. In Tableau Cloud, we can create one token or a handful of PAT's for concurrent tasks automation. However, for security reasons, this number is limited to:

     

    1. "refresh_token.max_count_per_device":"104",
    2. "refresh_token.max_count_per_user":"520"

     

    By design, given Tableau Cloud is sharing resources, at present, this number cannot be increased per site basis. With that being said, this is a feature request currently under review by our product teams. I added this case details into the item to help the team to gauge demand.

0/9000