Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Does anyone can help or advice how to embed the powerbi report on ASP.net MVC Apps ?
I followed the below instruction but it still not working.
https://docs.microsoft.com/en-us/power-bi/developer/embed-sample-for-customers
Here is my error message "Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: AADSTS70002: The request body must contain the following parameter: 'client_secret or client_assertion'"
Hi @tola,
Did you register your application in the Azure? You will find out the client_secret after that. Please refer to power-bi/developer/register-app.
Did you update the config file? Please refer to power-bi/developer/embed-sample-for-customers#embed-your-content-using-the-sample-application.
Best Regards,
Dale
Are you using App Owns Data or User Owns Data Samples?
Did you see this link instruction https://docs.microsoft.com/en-us/power-bi/developer/embed-sample-for-your-organization?
Maybe could help you.
Thanks for your advice I been followed with that instruction, but it working with Native apps only, my current apps in Webapps/API.
Do you have any more advice, ?
Hi @tola,
I would suggest you register your app here. It's clearer. Or you can refer to creating-application-client-id-client-secret-microsoft-azure-new-portal/ for the new method.
Best Regards,
Dale
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |