cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
wilson_smyth
Helper V
Helper V

Azure web app to call power bi api - how to call from c#

Im writing an azure Web App that will allow users to print out paginated reports.

The POC has a PPU workspace (api to export reports allows 1 report every 5 mins for PPU).

 

Users will log into the app, and the app has all the power bi permissions.
Ive created an App registration for the app in AD and granted this app registration permissions to the PowerBI.

 

Im not sure what to do next and need pointers of how to get a basic c# demo running. can anyon point to the appropriate documentation, or help with an example? So far i have not see anything that will help me.

 

Thanks!

1 ACCEPTED SOLUTION
v-shex-msft
Community Support
Community Support

HI @wilson_smyth,

You can take a look at the following GitHub links about the sample which package power bi rest API and invoked by c#.

PowerBI.API.Client 

Regards,
Xiaoxin Sheng 

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

View solution in original post

1 REPLY 1
v-shex-msft
Community Support
Community Support

HI @wilson_smyth,

You can take a look at the following GitHub links about the sample which package power bi rest API and invoked by c#.

PowerBI.API.Client 

Regards,
Xiaoxin Sheng 

Community Support Team _ Xiaoxin
If this post helps, please consider accept as solution to help other members find it more quickly.

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May 23 2022 epsiode 5 without aka link.jpg

The Power BI Community Show

Welcome to the Power BI Community Show! Jeroen ter Heerdt talks about the importance of Data Modeling.

Power BI Dev Camp Session 22 with aka link 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

Top Solution Authors