KNOWLEDGE BASE

Errors "Setting site role for user to '<siterole>' failed" or "Insufficient licenses. Setting user roles to '<siterole>' failed."


Published: 11 Mar 2016
Last Modified Date: 15 Jun 2020

Issue

When attempting to add a new user or assign a site role to a user on Tableau Server, one of the following error messages might occur:

Setting site role for user <username> to '<siterole>' failed
Or 
Insufficient licenses. Setting user roles to '<siterole>' failed.

Environment

Tableau Server

Resolution

Tableau Server on Windows 2018.2 And Newer Versions, Tableau Server on Linux 

  1. Verify that all license keys are activated by visiting the Tableau Customer Portal and selecting the "Keys - Server Only" report.  Run the TSM Licenses List command to compare the keys activated with the total keys report.  For information on adding product keys, see Add Capacity to Tableau Server.
  2. Ensure that all license keys are refreshed with an active maintenance date. For more information, see Refresh Maintenance Date for the Product Key
  3. Restart Tableau Server using the following commands to synchronize Tableau Server with the Trusted Storage.
  4. Open a command prompt as an administrator and navigate to the Tableau Server bin folder, located by default at C:\Program Files\Tableau\Tableau Server\packages\bin.<version> on Windows or /opt/tableau/tableau_server/packages/bin.<version> on Linux.
tsm stop
lmreread
tsm start

In a multi Site Tableau Server Environment: 

If Tableau Server is reflecting the correct number of licenses available on an individual site, but still unable to add a new user:
  1. Select Manage All Sites and review the full list of users.
  2. Confirm that the number of users on All Sites does not exceed the number of license seats. 
 

Tableau Server on Windows 2018.1 And Older Versions

  1. Verify that all interactor keys are activated within Manage Product Keys. For more information, see Add Capacity to Tableau Server.
  2. Ensure that all interactor keys are refreshed with an active maintenance date. For more information, see Refresh Maintenance Date for the Product Key
  3. Restart Tableau Server using the following commands to synchronize Tableau Server with the Trusted Storage.
  4. Open a command prompt as an administrator and navigate to the Tableau Server bin folder, located by default at C:\Program Files\Tableau\Tableau <Version>\bin.
tabadmin stop
lmreread
tabadmin start

In a multi Site Tableau Server Environment: 

If Tableau Server is reflecting the correct number of licenses available on an individual site, but still unable to add a new user:
  1. Select Manage All Sites and review the full list of users.
  2. Confirm that the number of users on All Sites does not exceed the number of license seats. 


 

Cause

When attempting to add a new user or assign a site role to a user on Tableau Server, the Tableau Server environment has reached or exceeded the total number of available Interactor seats.
Did this article resolve the issue?