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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Siddy
New Member

Change User Access Role when implenting Custom Security Sample Code

This is about the code at , https://github.com/Microsoft/Reporting-Services/tree/master/CustomSecuritySample

 

We are working on this RS code and are currently facing some issues with the code, related to Roles being assigned. When any user in the list is given a new Role, from the Manage -> Security link, and click Apply, the role is assigned, but that same user is still having only read access. So when on the dashboard the user clicks the ellipse button (…), it gives an error dialog, as user is not having full or admin level access, but only Read. Currently only the "Browser" role works for all users, but if I check say "Content Manager" role for user as well, it reflects in the UI role list, but it breaks if user tries to access any report from the dashboard, as it is still having read only access. Also there is no exception thrown in the code as well, which will help us debug further.

 

Can you please provide some pointers or guidance on the same for me to work on.

0 REPLIES 0

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.