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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
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.