You can see this currently running, albeit slowly, at PowerBI Embedded Sample
-
.NET 7.0 SDK or higher
-
IDE/code editor. We recommend using Visual Studio Code or Visual Studio 2022 (or a later version).
Follow the steps on aka.ms/EmbedForCustomer
-
Open the PowerBI-Embedded-Examples.sln file in Visual Studio. If you are using Visual Studio Code then, open PowerBI-Embedded-Examples folder.
-
Fill in the required parameters in the appsettings.json file. Refer to PowerBI.cs and AzureAd.cs for more info on the config parameters.
-
Build and 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.