Forum Discussion
Permission management operations via REST API.
- Anonymous2 years ago
Hi Anonymous ,
Thanks for reaching to us with your problems. Base on my research, it seems that there is no such REST API can manage the user at the report level. You can manage the user at workspace by the following REST API:
Groups - Add Group User - REST API (Power BI Power BI REST APIs) | Microsoft Learn
And for giving permissions to a user on a semantic model via REST API, you can refer the following link to get it. Power BI has two sets of permissions: Workspace permissions and Item permissions. Semantic model permissions are part of the item permissions. And for a semantic model that uses row-level security (RLS), any permissions higher than
buildwill enable the user to view all the data in the semantic model.Build, and permissions lower thanbuild, will only give the semantic model user access to the data they're allowed to see as configured in your RLS settings.Power BI REST APIs semantic model permissions - Power BI | Microsoft Learn
Workspace permissions
SSemantic model permissions
Best Regards
Hi Anonymous ,
Thanks for reaching to us with your problems. Base on my research, it seems that there is no such REST API can manage the user at the report level. You can manage the user at workspace by the following REST API:
Groups - Add Group User - REST API (Power BI Power BI REST APIs) | Microsoft Learn
And for giving permissions to a user on a semantic model via REST API, you can refer the following link to get it. Power BI has two sets of permissions: Workspace permissions and Item permissions. Semantic model permissions are part of the item permissions. And for a semantic model that uses row-level security (RLS), any permissions higher than build will enable the user to view all the data in the semantic model. Build, and permissions lower than build, will only give the semantic model user access to the data they're allowed to see as configured in your RLS settings.
Power BI REST APIs semantic model permissions - Power BI | Microsoft Learn
Workspace permissions
SSemantic model permissions
Best Regards