This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hello! I'm trying to embed apps in my website and have run into a 401 UnAuthorized error from the GenerateToken API method. I'm following the embed for your organization approach and am using credentials (username/password) so my API can call the PowerBI API. I can embed reports from workspaces just fine, but cannot embed reports from apps. For some reason, the GenerateToken method rejects reports from apps. Is there some setting I'm missing in my user or is embedding reports from apps not supported?
Thank you!
HI @justSomePower,
How did you used this API, can you please share some more detail? Does this token have generating for all the contents that the apps included?
How to Get Your Question Answered Quickly
If you want to embed that app, you need confirm the token is define for these contents and the account have enough permission to access these contents.
Embed Token - Generate Token - REST API (Power BI Power BI REST APIs) | Microsoft Learn
Regards,
Xiaoxin Sheng
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |