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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.