Power BI Samples

 

Published: November 1, 2015

Updated: July 19, 2016


Download the client app sample | Download the web app sample

With the Microsoft Power BI REST API, you can programmatically access certain Power BI resources using any platform that support REST API operations. Here's a couple of samples to help you get started writing a Power BI app.

To run the Power BI samples, you need to:

<img src="../Image/Samples%201.png" alt="s1" xmlns="http://www.w3.org/1999/xhtml" /> - Have an Azure Active Directory account.

s2 - Sign up for Power BI.

<img src="../Image/Samples%203.png" alt="s3" xmlns="http://www.w3.org/1999/xhtml" /> - Register the sample app to get a client id.

Power BI sampleDescription
Client app sampleShows how to get an access token for a client app and execute all Power BI REST operations.
ASP.NET web app sampleShows how to get an access token for a web app and execute a Power BI REST operation.
Show: