Forum Discussion

HMEUserAnup's avatar
HMEUserAnup
New Member
4 years ago

RLS with multiple roles not working with embedded reports

Hi,

 

we are trying to implement RLS feature in the .net application using PowerBI embed and are trying to pass multiple roles based on which the logged in user should see the filtered report on the client side.  When we are sending a single role, the reports are getting perfectly displayed, But when we are sending multiple roles (roles, users and rules which are already configured for specific report in the powerbi desktop), it shows us with the following error on to the client-side:

 

 

Following is the screenshot of the code that we have implemented at our end : 

 

 Is it possible to display the report based on multiple roles through code approach?

 
And if so, Is there any documentation/code example/feeds where i can look into?

Thanks,

Anup

 

 






 

3 Replies