KNOWLEDGE BASE

Error "Custom OAuth is not configured for this datasource. Learn more. (errorCode=170001)" When Connecting to a OneDrive Data Source


Published: 06 Dec 2022
Last Modified Date: 22 Feb 2024

Question

After an upgrade to 2022.3, when connecting to a data source on OneDrive, the following error is encountered:

Custom OAuth is not configured for this datasource. Learn more. (errorCode=170001)
 

 

Environment

  • Tableau Server 2022.3 and newer
  • Data sources on OneDrive or SharePoint Online

Answer

Configure the OAuth client for Tableau Server as detailed in the Tableau Online Help showing step-by-step information on registering, configuring and setting the correct permissions for an OAuth application for Azure under a specific Azure tenant.  The Client ID and Client Secret are obtained from these steps to be used by Tableau Server.

Once OAuth is configured on Azure, you want to then follow the steps in the Tableau Online Help to Configure a default OAuth client for OneDrive and SharePoint Online.  
 
Did this article resolve the issue?