guyinacube / Embed-API-Sample

A sample application to use the Power BI APIs for embedding. This makes use of the Power BI .NET SDK which in turn calls the Power BI REST API.
GNU General Public License v3.0
23 stars 19 forks source link

Embed-API-Sample

A sample application to use the Power BI APIs for embedding. This makes use of the Power BI .NET SDK which in turn calls the Power BI REST API.

Register Azure AD App

You can register your Azure AD app by following the steps in the following document.

Update Password and Client ID

After you create your Azure AD App, you will want to update the Password and Client ID within secrets.cs.

// The Azure AD App - Application ID/Client ID
public static string ClientID = "<ENTER CLIENT/APPLICATION ID>";

// The Azure AD App - Client Secret
public static string ClientSecret = "<ENTER CLIENT SECRET>";