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

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

API information for Power BI Report Server authorization management

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!

1 REPLY 1
Anonymous
Not applicable

Hi, @Anonymous 

Maybe you can find sample and documents from the following link:

PBIRS | 2.0 | microsoft-rs | SwaggerHub

vyohuamsft_0-1732259511587.png

 

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.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.