Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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.
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |