Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join 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.

Reply
ranbeermakin
Resolver III
Resolver III

Power BI Embedded - RLS REST API ERROR: Creating embed token with multiple identities

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?

 

@v-chuncz-msft

 

Thanks,

Ranbeer

3 REPLIES 3
jayvandenbos
Frequent Visitor

Hi,

 

Please check my answer here:

https://community.powerbi.com/t5/Developer/Embed-Token-API-Error-Creating-embed-token-with-multiple/...

 

Hope this helps you out!

 

Regards

jaguilera
Regular Visitor

In this example "roles" and "datasets" are array datatype, your settings JSON is in string datatype. 

Look:

powerbireply.png 

 

 

Nope, that doesn't help.

 

Can somebody from Microsoft/or expert check and respond

 

Ranbeer

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors