Hi team ,We are doing PAT changes in tableau desktop and trying to publish the same in server with embedded credential. Post that in Server ,we are trying to change the owner of that report ,it automatically change to Prompt credential. so when we change that embed password and give the credential to test the connection and save it.It is showing Could not connect to server
#Tableau Server
This is the by design behavious (per security reasons):
https://help.tableau.com/current/server/en-us/owner.htm#considerations-for-changing-content-ownershipThus, if you are using a datasource different than Snowflake Key pair authentication, after changing the owner you may readd the credentials by signing in with the new owner account.
If using Snowflake key pair authentication, the new owner needs to publish the datasource (currently adding key pair authentication from Tableau Cloud/Server is not supported, it is only allowed from Tableau Desktop/Prep Builder), thus you need to publish the datasource using the "new owner" account from the beginning.
https://help.tableau.com/current/online/en-gb/snowflake_key_pair_auth.htmIf this post resolves the question, would you be so kind to "Accept this Answer"?. This will help other users find the same answer/resolution and help community keep track of answered questions. Thank you.
Regards,
Diego Martinez
Tableau Visionary and Tableau Ambassador