403141: Forbidden 'server administrator' isn't authorized to update the datasource.
yaphx opened this issue · 1 comments
yaphx commented
Describe the bug
I am using a server administrator account to perform all these updates/moving. However, I am unable to move data sources programmatically from one project to another project within the same site. But I am able to move workbooks.
Versions
Environment Details, including:
- Tableau Server version: 2021.1.17
- Python version: 3.9.7
- TSC library version: 0.25
- On-prem Tableau Server
To Reproduce
with server.auth.sign_in(tableau_auth):
#move workbook
move_workbook = server.workbooks.get_by_id(workbook_id)
move_workbook.project_id = target_project_id
target_workbook = server.workbooks.update(move_workbook)
#move datasource
move_datasource = server.datasources.get_by_id(datasource_id)
move_datasource.project_id = target_project_id
target_datasource = server.datasources.update(move_datasource)
Results
403141: Forbidden 'server administrator' isn't authorized to update the datasource.