Error "​Login failed for user '<Run As username>'" Editing Data Connection

Published: 22 Apr 2015
Last Modified Date: 07 Sep 2016


When editing a data connection on Tableau Server to change the username and password, the test connection might fail with the following error:

Login failed for user '<Run As username>'.


Tableau Server


Connect in Tableau Desktop using the option to 'Use a specific username and password'. Publish data source/workbook with Embedded Credentials.


Connection in Tableau Desktop was made using the option 'Use Windows Authentication (preferred)'. Data source was published with Server Run As authentication.  

Additional Information

Edit Data Connection allows user to enter specific database username and password, but does not actually allow the change.
Did this article resolve the issue?