Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. Register now.
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 the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |