Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
SidneyAlliance
Frequent Visitor

PBI Embed EM capacity, tokens integration, "masteruser" ; error "User is not licensed for Power BI"

I do have a PowerBI Embebded EM1 Governament subscription and a pesonal PBI Pro GCC license what I use for make reports, the admin and azure portals.

I'm trying implement an "App Owns Data" with "masteruser" for a token authentication,  to my custommers users not be required PBI license or authentication.

I'm follow this guide: 

https://learn.microsoft.com/en-us/power-bi/developer/embedded/register-app?tabs=customers

Using a .NET framework sample, with my admin user as master account to test, it always give a "User is not licensed for Power BI".  but this account has all admin rights to everything. Could this be because it is a pro GCC account? 

I also tried use "serviceprincipal" with a secret, and in that case it just give a "Unauthorized (401)"

I tried many diferent aprouches with no success, at this point not sure if don't have the right licenses, or have missed something in settings or my network been blocking some traffic.

Any help to troubleshoot it would be very appreciated.

  

 

 

1 REPLY 1
v-jianboli-msft
Community Support
Community Support

Hi @SidneyAlliance ,

 

From your description, it is not possible to determine where the problem occurs.

This may be caused by incorrect settings or missing elements in the sample file.

Here is a detailed Embed for customer document with Sample,

Please try to follow the steps in the document to redeploy it again.

 

Best Regards,

Jianbo Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.