Forum Discussion
jclay
9 years agoRegular Visitor
Pass username and role in token request for RLS to work with an embedded app-owns-data report
I am trying to embed an app-owns-data report into my web app with RLS to restrict the report data to specific users. The documentation at: https://docs.microsoft.com/en-us/azure/power-bi-emb...
- 9 years ago
hi Eric_Zhang,
here is the link for RLS for non PowerBI users
https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedded-rls/
brenkehoe
Helper I
9 years agoHi i see that now GenerateTokenRequest now accepts a list of EffectiveIdentity i am trying this with a single EffectiveIdentity with only the username set but recieve BadRequest. Any ideas / docs about this new functionality ?
MeQT
9 years agoFrequent Visitor
Hey!
Username, Role and DatasetId needs to be added to the EffectiveIdentity-object.
Here you find an example. https://powerbi.microsoft.com/en-us/documentation/powerbi-developer-embedded-rls/
Worked for me without any problems. Let me know if you got any further problems.
MeQT