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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

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
July 2025 community update carousel

Fabric Community Update - July 2025

Find out what's new and trending in the Fabric community.

July PBI25 Carousel

Power BI Monthly Update - July 2025

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

Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.