Showing results for 
Search instead for 
Did you mean: 
niharika0913 Frequent Visitor
Frequent Visitor

Embedding power bi reports in ASP.NET



I am creating few reports in PBI desktop and need to embed them in app.



1) Only the plots come from the power bi reports. All the filters in .NET needs to interact with the graphs from power bi.

2) Authentication and authorization of the portal (.net app with power bi reports) needs to be done from .NET


I recently learnt that Microsoft is creating a single API platform with introduction of PBI Premium. I have Pro license and the client has created one app workspace in PBI with premium capacity. I am going through the new documentation from microsoft on how to embed reports in web app, but I fail to understand how to integrate PBI reports in as earlier we could do that through Power BI Embedded option in Azure portal.


Is anybody working recently on such integrations after MS took out the update on premium licensing? Can you please help me on how to embed my reports in



prateekraina New Contributor
New Contributor

Re: Embedding power bi reports in ASP.NET

Hi @niharika0913,

Requirement 1

If you are keeping filters in .NET, then you need to filter the report in report URL.

Check this out.

Requirement 2
You need to register your application on Azure. Check this out for more details.

Also, you need to generate Cleint Secret and Client ID from here which you will use in your web.config.




niharika0913 Frequent Visitor
Frequent Visitor

Re: Embedding power bi reports in ASP.NET

Thank you for the reply.


I have one question. How has the process of embedding visuals in .NET changed after Microsoft came out with new updates, that is, now there is one single api platform and the option to create workspace collection in Power BI Embedded no more exist?? I have read the documentation they released recently but I could not understand where does.NET or any other web app comes into picture?

In the web.config I have to give workspace id, access key, embed url..where do I find this now?

Helpful resources

Virtual Launch Event

Microsoft Business Applications October Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

Power BI Helps Homeless and Trouble Youth

Power BI Helps Homeless and Trouble Youth

We spoke with Power BI Super User, Greg Deckler, about his charity work

MBAS Gallery

Watch Sessions On Demand!

Continue your learning in our online communities.

Users Online
Currently online: 114 members 1,520 guests
Please welcome our newest community members: