Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!