Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.
Requirements:
We needs to customize a UI interface based on Power BI Report Server and aims to implement the following two features in the UI. They are looking for related API information:
1.To add view or edit permissions for directories or reports.
https://learn.microsoft.com/en-us/power-bi/report-server/getting-around#web-portal-roles-and-permiss...
2.To set Row-Level Security (RLS).
https://learn.microsoft.com/en-us/power-bi/report-server/row-level-security-report-server#add-member...
Progress:
1.Regarding the API for permission policies at the directory and folder levels, we have only found a simple description of the API information, but no specific examples to confirm whether these are user permission configuration interfaces:
1)Directory: Set Catalog Item Policies
https://learn.microsoft.com/en-us/rest/api/power-bi-report/catalog-items/set-catalog-item-policies
2)Folder: Set Folder Policies
https://learn.microsoft.com/en-us/rest/api/power-bi-report/folders/set-folder-policies
2.For permission policies at the report level, we cannot confirm the difference between the following two points, and there is no API information for Row-Level Security (RLS):
1) Power BI Report Policies
https://learn.microsoft.com/en-us/rest/api/power-bi-report/power-bi-reports/set-power-bi-report-poli...
2) Data Model Role Assignments
https://learn.microsoft.com/en-us/rest/api/power-bi-report/power-bi-reports/replace-power-bi-report-...
3.We did not find any interface information regarding permission addition or role assignment in the provided examples: https://github.com/Microsoft/Reporting-Services
4.We have found the PowerShell library and examples (though still searching for RLS), but it seems these may not be applicable for Web API calls:
https://www.powershellgallery.com/packages/ReportingServicesTools/0.0.6.5/Content/Functions%5CSecuri...
Questions:
Could you help find the API information for granting permissions at the directory, folder, and report levels, as well as the API information for RLS?
Thank you very much!
Hi, @Anonymous
Maybe you can find sample and documents from the following link:
PBIRS | 2.0 | microsoft-rs | SwaggerHub
How to Get Your Question Answered Quickly
Best Regards
Yongkang Hua
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
User | Count |
---|---|
7 | |
3 | |
2 | |
1 | |
1 |
User | Count |
---|---|
7 | |
6 | |
3 | |
3 | |
2 |