Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
danielraexavier
New Member

Connecting PowerBI to Oauth Provider Data Source

Hello - my company runs a web application.  I work mostly as a front-end developer, but I've been charged with doing research to figure out how our clients who use PowerBI could pull data from our application into PowerBI.  I envision a flow like this:  In PowerBI Desktop, the user selects our application as a data source and proceeds through steps to authorize PowerBI to access our application's data in a read-only format. Our application already has some capabilities for OAuth built into it, so using an OAuth authorization mechanism could be an option.  But I'm not really sure where to begin.  Any help or advice on how to get started would be appreciated. 

3 REPLIES 3
Eric_Zhang
Microsoft Employee
Microsoft Employee


@danielraexavier wrote:

Hello - my company runs a web application.  I work mostly as a front-end developer, but I've been charged with doing research to figure out how our clients who use PowerBI could pull data from our application into PowerBI.  I envision a flow like this:  In PowerBI Desktop, the user selects our application as a data source and proceeds through steps to authorize PowerBI to access our application's data in a read-only format. Our application already has some capabilities for OAuth built into it, so using an OAuth authorization mechanism could be an option.  But I'm not really sure where to begin.  Any help or advice on how to get started would be appreciated. 


@danielraexavier

IMHO, there're below ways to connect your data to your client.

  1. You shall design Data feed APIs in your application and ask your client to call the API in Power BI Desktop via "get data"->"other"->"Web".
  2. Maybe you can use a web storage(Onedrive, Google Drive, dropbox etc) and expose the storage to your client. For many storage services, there're various APIs which make uploading and consuming files, say excels,csvs, in a programmable way possbile. Eg, you can access an excel in Onedrive for business via "Web" in option one.
  3. If you're using a cloud database, expose it to the users with a restricted read-only pression. And then connect to the database with indivisual connector in Power BI Desktop.

I think there're more ways and it all depends on your own scenario.

 

 

Thanks for your reply!  I was considering option number 1, but that requires making our community data public.  The web database and cloud storage options are interesting too...  Although I was hoping we'd be able to take advantage of our oauth provider status to make an easy connection with PowerBI

And/or does anyone know much about creating a content pack for Power BI?  Maybe I could do that for my app's data...

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.