Forum Discussion
Marusyk
Advocate II
1 year agoEmbed for your customers doesn't work with warehouse
I'm trying to embed my simple Power BI report into my web application by using Microsoft.PowerBI.Api package for .NET. I'm using a service principal that has Admin rights in Microsoft Fabric worksp...
Anonymous
1 year agoNot applicable
Hi Marusyk ,
According to your screenshot, I think 403 forbidden is authorization error.
Please make sure you have configured the service principal correctly.
You may refer to this offical blog:
For more details about app owns data : Embed content in your Power BI embedded analytics application - Power BI | Microsoft Learn
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Marusyk
Advocate II
1 year agoThanks for the info but I followed this guide and granted access to the service principal for all places where it is possible - it's an Admin for my workspace. I can get the report list in the code
`var embedToken = pbiClient.EmbedToken.GenerateToken(tokenRequest);`