When attempting to configure and save a new SAML configuration on Tableau Cloud, the following error occurs:
An unexpected error occurred while processing your request
Alternatively, a blank screen may display with a success message, and the newly saved configuration does not appear on the Settings > Authentication page.
Important: It is critical that any existing and functioning SAML, OIDC, Salesforce or Google configurations are not deleted. Please ensure to note any valid configurations that are not intended to be removed before deleting any configurations.
Use the steps below to workaround the issue by removing the invalid SAML configurations.
curl "https://<pod prefix>.online.tableau.com/api/3.26/sites/<site LUID>/site-auth-configurations" -X GET -H "X-Tableau-Auth:<workgroup_session_id value>"
Mac
curl --location "https://<pod-prefix>.online.tableau.com/vizportal/api/web/v1/deleteSiteSAMLConfiguration" \--header "content-type: application/json;charset=UTF-8" \--header "cookie: <insert cookie value" \--header "x-xsrf-token: <insert value>" \--data "{\"method\":\"deleteSiteSAMLConfiguration\",\"params\":{\"idpConfigurationId\":\"<insert value>\"}}"
Note: The cookie value is the entire value shown for the cookie header on http requests to online.tableau.com
Windows
curl --location “https://<pod-prefix>.online.tableau.com/vizportal/api/web/v1/deleteSiteSAMLConfiguration” ^--header “content-type: application/json;charset=UTF-8" ^--header “cookie: <insert cookie value>” ^--header “x-xsrf-token: <insert value>” ^--data “{\“method\“:\“deleteSiteSAMLConfiguration\“,\“params\“:{\“idpConfigurationId\“:\“<insert value>\“}}”
Note: The cookie value is the workgroup_session_id found in the cookie header.
If an error persists after manually removing all invalid configurations, then the SAML metadata is likely invalid and should be reviewed to identify invalid contents.
004517778

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.