Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
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 everyone, I am new to the community.
I am carrying out a project with powerbi embedded, my first steps of embedding it in a web page were satisfactory. I use the documentation that microsoft has on their website and I get a good result. My scenario is the owns data app, but now it is required to use RLS in a dynamic way, since it is aimed at external clients without a power bi license. I was using the LINK example file, I get results when I embed an application without RLS but when I use an application with RLS I get the error:
I'm not very good at programming, I understand what the user and dynamic role created should pass through, but I can't identify where.
Regards Joseph
Hi @JosephBMV
I think there may be something wrong in the step you create the embedded token. You can have a test to generate Token with RLS from this link. Please check whether you meet the required scopes. (API permission)
For reference: Generate EmbedToken for two datasets with RLS identities and a single report with read-only permissi...
Here is the offical blog about setting RLS in Embedded Report.
For reference: Applying user and role to an embed token
You can use the following Json code below as an example:
{
"accessLevel": "View",
"identities": [
{
"username": "EffectiveIdentity",
"roles": [ "Role1", "Role2" ],
"datasets": [ "fe0a1aeb-f6a4-4b27-a2d3-b5df3bb28bdc" ]
}
]
}
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
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 |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 8 | |
| 8 | |
| 4 | |
| 3 | |
| 2 |