When attempting to connect to Salesforce from Tableau Cloud (for example, when configuring Tableau AI), the login to Salesforce succeeds, but the following error occurs in Tableau:
OAuth error response, generally means someone clicked cancel: OAUTH_APP_ACCESS_DENIED (errorCode=180002)
If there is a custom OAuth application registered in Salesforce with a blank OAuth Instance URL, Tableau Cloud uses this custom application instead of the default "Tableau Online for Salesforce" connected app. The error occurs because the user attempting the connection does not have the necessary permissions assigned for this custom application in Salesforce.
To resolve this issue, grant the necessary permissions to the affected user for the custom OAuth application being used for the connection in Salesforce.
You can also change to use the "Tableau Online for Salesforce" connected app by changing the OAuth Instance URL from blank. However, recreating the custom OAuth application will require renewing the authentication token and reconnecting the data source.
Similar Knowledge:
005387746

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.