Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hello,
I have the following questions and I can't find a clear solution.
Context: Power Bi Embedded
1. Can I give a user (meaning the organization's user) reading access to a report published in Power Bi through some operation via REST API?
2. Can I give permissions to a user (meaning an organization user) on a semantic model that has created a specific role (obviously already created previously) via REST API? It is to apply row level security (RLS)
Thanks in advance.
Greetings
Solved! Go to Solution.
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
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
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
2 |
User | Count |
---|---|
8 | |
7 | |
4 | |
4 | |
4 |