Don't miss your chance to take the Fabric Data Engineer (DP-700) exam on us!
Learn moreWe've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now
Hi,
i'm using PowerBi embedded solution with service principal and when the report is loaded visual fails to load:
Couldn't retrieve the data for this visual. Please try again later.
Please try again later or contact support. If you contact support, please provide these details.
In the network in console for query data there is an error: RLSNotAuthorizedForImpersonation
Does anyone have any thoughts how to find an issue and fix this and what is this error in detail?
Hi @Anonymous
This looks like a possible embedded-token generation issue.
If your report is using Row Level Security - you will need to make sure you generate a token with the required identity.
Power BI REST API - Generate Token
Check that you have included an 'Effective Identity' that matches the report RLS roles, like this..
"identities": [
{
"username": "user@my-app.com",
"roles": [
"report-rls-role-name"
],
"datasets": [
"my-dataset-id-xxxxx-xxxxx-xxxxx"
]
}
]
If your report doesn't contain any RLS entries - then you will need to make sure that any token generated doesn't contain an identity, as you shouldn't supply one to a report that doesn't require it.
Let me know if any of this helps.
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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |