Forum Discussion
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?
Thanks,
Ranbeer
3 Replies
- jaguileraRegular Visitor
In this example "roles" and "datasets" are array datatype, your settings JSON is in string datatype.
Look:
- ranbeermakinResolver III
Nope, that doesn't help.
Can somebody from Microsoft/or expert check and respond
Ranbeer
- jayvandenbosFrequent Visitor
Hi,
Please check my answer here:
Hope this helps you out!
Regards