Forum Discussion
Shaamil
8 years agoRegular Visitor
Programmatically grant user permission to a dataset
Hi, There are Power BI reports in my organization targeted for various users. Currently for the reports we grant access to users by going into The Wokspace, and selecting the datsets. From there we s...
v-jiascu-msft
8 years agoMicrosoft Employee
Hi Shaamil,
I'm afraid there isn't such a API for now. I would suggest you vote up this idea or create a new one. Please refer to the REST APIs of Power BI: rest/api/power-bi/datasets.
Best Regards,
Dale
Shaamil
8 years agoRegular Visitor
I upvoted the idea to create a new one. Also I checked out on the Power BI REST API. Although there is a REST method to add user to group, it only adds users to the workspace as members and not to RLS groups. [Reference: https://docs.microsoft.com/en-us/rest/api/power-bi/groups/addgroupuser] . So it seems there is no support from the Power BI REST API as well. Thanks Dale for replying for my post !
- ywang337 years agoNew Member
we would need this API for the exactly same use case. it would be great if Microsoft could provide it.