TABCMD – Not enough permissions

Standard

So recently I was publishing some datasets to my Tableau server using PowerShell and received the below strange error message:

TableauPermissions

Here’s the command I was using:

tabcmd publish $publishFile
               -t $SiteName -r $ProjectName -u $username -p $password

 

The problem was the data source already existed on the server and I hadn’t specified -o to overwrite. So here’s the command that worked for me:

tabcmd publish $publishFile
               -t $SiteName -r $ProjectName -u $username -p $password -o