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 nowJuly 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more
Hi there,
I'm receiving following error when trying to get token to embed report and passing identities for RLS.
error: Creating embed token with multiple identities is not supported
example: Retail Analysis example, reference: https://docs.microsoft.com/en-us/power-bi/developer/embedded-row-level-security
api used: https://api.powerbi.com/v1.0/
settings JSON:
settings = {"accessLevel": "View",
"identities": [
{
"username": "Andrew Ma",
"roles": "District Manager",
"datasets": "datasetid"
}
]
}
Any help would be appreciated?
Thanks,
Ranbeer
Hi,
Please check my answer here:
Hope this helps you out!
Regards
In this example "roles" and "datasets" are array datatype, your settings JSON is in string datatype.
Look:
Nope, that doesn't help.
Can somebody from Microsoft/or expert check and respond
Ranbeer
Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.
Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.
| User | Count |
|---|---|
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |