When adding a user to Tableau Cloud via Rest API, the user may show in Tableau Cloud with an authentication method as "Unspecified." The user may or may not be able to log in. This is expected behavior if the site has multiple IdP configurations, as the specific configuration for that user was not specified.
The User may also see the error on login "Remote IdP entity descriptor is not configured"
This error means that the user was added with the authSetting parameter set to SAML, but the site had multiple SAML IdP configurations set. If there are multiple IdP configurations, switch to using the IdpConfigurationId parameter instead.
The quick workaround is to change the user's sign-in method in Tableau Cloud. After changing to the correct SAML Configuration, they will be able to log in via that method. However, this would be a workaround to the incorrect Rest API configuration.
To resolve the Rest API code issue:
Add user to site (Rest API)
https://help.tableau.com/current/api/rest_api/en-us/REST/rest_api_ref_users_and_groups.htm#add_user_to_site
SAML Requirements for Tableau Cloud
https://help.tableau.com/current/online/en-us/saml_online_requ.htm#idp-reqs
Note: Tabserverclient currently does not have this parameter. Please open a request on github to add that functionality.
004693708

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.