When authenticating to Tableau Server configured for SAML, the following error might occur:
There is no valid username attribute.
Potential causes:
Ensure that the IdP is sending a valid attribute that matches the username in Tableau Server. If the attribute matching the Tableau Server username is named something other than username, it will be necessary to configure Tableau Server for the correct attribute. For example, in the following SAML response, the attribute for oid:user and not username:
</saml2:Attribute><saml2:Attribute FriendlyName="glid" Name="oid:user" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:uri">
<saml2:AttributeValue xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">testuser</saml2:AttributeValue></saml2:Attribute>
To update Tableau Server to use a new value to authenticate users:
Tableau Sever on Linux and Tableau Server on Windows 2018.1 and newer:
on the computer running Tableau Server, open the command prompt as an administrator.
Run the following commands in order:
TSM stop
TSM configuration set -k wgserver.saml.idpattribute.username -v <value>
TSM pending-changes
TSM start
001473075

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.