Hi,
We are moving over to Tableau online and they have now enabled MFA, as a result we are trying to connect using PATs (Personal Access Tokens). Im struggling though - I can create a PAT and in Designer on my local machine, connect to Tableau online and it all works fine - I can create a datasource etc. If I then save that to the server and run from there it fails: Failed to signin to Tableau. In order to get this far I had to export our certificates from the link below, prior to following this I got the same error as the server does. I have on the server done the same steps as on my machine, copying the cacert.pem file thats working on my machine to the server in the C:\ProgramData\Alteryx\Tools\Tableau_v1.1.1_venv\Lib\site-packages\certifi folder. The server has also been upgraded to 2021.4 and Im running 2021.4 as well.
Where it gets really strange is that one of our server admins can run it ok on the server. If he creates a workflow on the designer instance on the server and tests it with his PAT it works, if he then saves that to the sever and on his PC opens the gallery and runs that workflow it works fine. If we do the same steps he does on my machine it runs locally but not on the server. If I use his PAT on my workflow it wont work but will work if he uses it. We are completely out of ideas as to why this wont work! It cant be a firewall/certificate issue as we can get a workflow to run on the server. It cant be a PAT issue as I can get a workflow to run locally! Im out of ideas, has anybody got any ideas?
https://community.alteryx.com/t5/Alteryx-Designer-Knowledge-Base/Connection-Errors-with-Python-based-Connector-Tools-when-running/ta-p/460217