-
IDE/code editor. We recommend using Visual Studio 2019.
Follow the steps on aka.ms/EmbedForCustomer
-
Open the AppOwnsData.sln file in Visual Studio.
-
Fill in the required parameters in the Web.config file.
-
Restore NuGet packages (right click on AppOwnsData.sln file in Visual Studio solution explorer window and click Restore NuGet packages).
-
Restore client side libraries (right click on AppOwnsData.sln file in Visual Studio solution explorer window and click Restore Client-Side Libraries).
-
Build the application.
-
Run the application.
-
Register an Azure AD app using the Power BI embedding setup tool. For more information see Register an Azure AD application to use with Power BI.
-
Verify that your Azure AD app have the Read all dashboards, Read all reports, and Read all workspaces permissions.
-
Go to the AAD app in Azure portal that was created in the previous step and click on "Authentication".
-
Under "Redirect URIs", add https://localhost:44300/
-
Open the UserOwnsData.sln file in Visual Studio.
-
Fill in the required parameters in the Web.config file related to AAD app.
-
Restore NuGet packages (right click on UserOwnsData.sln file in Visual Studio solution explorer window and click Restore NuGet packages).
-
Restore client side libraries (right click on UserOwnsData.sln file in Visual Studio solution explorer window and click Restore Client-Side Libraries).
-
Build the application.
-
Run the application.
-
Google Chrome
-
Microsoft Edge
-
Mozilla Firefox
For security reasons, in a real world application, passwords and secrets should not be stored in config files. Instead, consider securing your credentials with an application such as Key Vault.