TabProvision Error "The remote server returned an error: (401) Unauthorized" to Automate User/Role/Groups

Published: 01 Dec 2023
Last Modified Date: 01 Dec 2023


The following error appears when running the TabProvision tool to automate user/role/groups:

Error: "000, 11/29/2023 10:51:24 AM, Error returned from sign in response: System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.GetResponse()
at TableauServerSignIn.Execute()
001, 11/29/2023 10:51:24 AM, Error provisioning Tableau Online site. Error: The remote server returned an error: (401) Unauthorized."


  • Tableau Cloud


  1. Log in to Tableau Cloud, navigate to My Account Settings, under Personal Access Tokens, revoke the current token and  regenerate the Personal Access Token.
  2. Use the newly created Personal Access Token in automation scripts to authenticate to Tableau Cloud.


An invalid Personal Access Token is sent to a Tableau Cloud site.

Additional Information

TabProvision is a flexible tool for automating user/role/groups provisioning in Tableau Cloud.  For more information on TabProvision, please see the github page.

TabProvision tool is Community supported.
Did this article resolve the issue?