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 28 - August 9 | Final Round of the Power BI Dataviz World Championships. This is 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
If you love stickers, then you will definitely want to check out our community sticker challenge, Barcelona edition!
Check out the July 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |