How to perform a PowerBI OAuth SSO connection to Spotfire Data Virtualization using CDATA PowerBI adapter?

book

Article ID: KB0138655

calendar_today

Updated On:

Products Versions
TIBCO Data Virtualization All supported versions

Description

This article provides details for how to perform a PowerBI OAuth SSO connection to Spotfire Data Virtualization using CDATA PowerBI adapter. 

Environment

All supported Operating Systems

Resolution

Pre-requisite - A working OAuth domain is setup in SDV. 

Below steps are applicable for any of the SDV Supported IDP - Azure, Okta, Auth0 and Google

Follow the below steps - 

(1) Install the CDATA PowerBI driver version 24.00.9111.00 or later on the client machine. The installer can be found at TIB_tdv_drivers_<SDV_version>_all.zip\apps\PowerBI\TIB_tdv_PowerBI_Connector-24.0.9111.exe. 

(2) Create a DSN by opening the ODBC Driver manager and selecting the driver 'Power BI Connector for TIBCO(R) Data Virtualization'.

image.png

(3) Add below details - 

 
 
Host - hostname / IP address of DV Server  Port - DV base port +1 Domain - DV OAuth domain name  Data Source - DV published data source to connect  SSO = EntraID for Azure or select the relevant one from the drop-down Azure Tenant - provide the IDP tenant's domain name (ex: abc.onmicrosoft.com ) or the tenant id.  Initiate OAuth = GETANDREFRESH (select from the drop down) OAuth Client ID - IDP app Client ID OAuth Client Secret - IDP app Client secret  Scope - provide the scope mentioned in DV OAuth domain. Save the DSN.

(4) Add the below Redirect URI in your IdP registered app ->

http://localhost:33333 (You may mention the client machine hostname / IP address where the DSN will be created for connection instead of localhost). 

Note : the above redirect URI is the default. It can be configured / changed via 'callback URL' parameter in the DSN.

(5) Open the DSN and test the connection. A browser will pop-up for user auth process.

Note - if you receive an error of the redirect URI not a part of the registered app, kindly review step3 and make the necessary change. 

(6) Once connection is successful, open Power BI > Get Data > More > type 'odbc' in the find box and select the option > choose the DSN created above > 'Windows' tab > select the checkbox 'use my current credentials' > select ok. It will display the preview of the resources for the selected DV data source.

Gif for reference : 

image.png

 

 

 

Issue/Introduction

How to perform a PowerBI OAuth SSO connection to Spotfire Data Virtualization using CDATA PowerBI adapter?