This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowThe Fabric community is now in read-only for platform upgrade. Learn more
For powerbi embedded, we created service principal in Microsoft Entra (Azure portal):
For which we need to provided it required PowerBi services - Report.ReadAll, Tenant.ReadAll
In our Fabric workspace we added this service principal as admin via manage access so that it can access workspace.
Till here its done and is active.
Now from our code we did following below steps:
1. Get access token from Microsoft entra for service principal - success
2. Generate token for the report inside the workspace - every time fails here with different methods
Hi @MurugeshPeurmal,
Thank you for reaching out to Microsoft Fabric Community.
Since the service principal is successfully getting the entra access token, the authentication is working correctly. The issue is most likely with the power bi or fabric configuration required to generate the embed token.
If these settings are already correct, please share the exact error response returned by the generate token API
Thanks and regards,
Anjan Kumar Chippa
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
| User | Count |
|---|---|
| 15 | |
| 11 | |
| 9 | |
| 8 | |
| 6 |
| User | Count |
|---|---|
| 29 | |
| 23 | |
| 18 | |
| 15 | |
| 13 |