The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
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.
User | Count |
---|---|
3 | |
2 | |
1 | |
1 | |
1 |
User | Count |
---|---|
7 | |
2 | |
2 | |
2 | |
2 |