Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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 @dcieslicki
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.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
13 | |
2 | |
2 | |
1 | |
1 |
User | Count |
---|---|
20 | |
3 | |
2 | |
2 | |
2 |