Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hello everyone,
Is there a way to find out if a Power BI report accepts the identities array in the embed token request, before requesting the embed token (or find out if a report is configured to accept RLS or not before we made the embed token request to the API)?
Hi @cyan,
May I ask if it's necessary to find out if a report accepts RLS? We can design it. Please refer to developer/embedded-row-level-security. Is the Identities Array like below?
{
"accessLevel": "View",
"identities": [
{
"username": "EffectiveIdentity",
"roles": [ "Role1", "Role2" ],
"datasets": [ "fe0a1aeb-f6a4-4b27-a2d3-b5df3bb28bdc" ]
}
]
}
Best Regards,
Dale
Hi @v-jiascu-msft,
The reason is that in my API I want to use the same method to getReport for reports with or without RLS, currently I don't know if a report accepts RLS or not, so if I called the getReport method (which I generate the embed token in this method as well) and the requested report has RLS I have to pass the identites array like you mentioned in your comment, but if it doesn't require RLS I should only pass the accessLevel, so I need to know if it accepts RLS or not so that I construct the right parameters for the GenerateTokenRequest because otherwise it will throw an HttpOperationException.
And yes the identities is like you mentioned.
Could you please let me know if my request is feasible or if you have other suggestions for my case?
Thanks.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 |