Forum Discussion
Share Dataset (or Report) from API to users
- 7 years ago
You can use Group rest api like
POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/usersFor more details, please refer to power bi rest api reference:
https://docs.microsoft.com/en-us/rest/api/power-bi/groups/addgroupuser
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
You can assign those users as members and select "Members can edit Power Bi Content" in app workspace settings.
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-yuta-msft, thank you for answer.
I know about this way. On this way I can do it manually. But users can be added to SSAS dynamically (automatically, not from my side) on synchronization. I looking for some API or PowerShell script that I can add to process of synchronization and do the same thing programmatically. Is it possible somehow?
- v-yuta-msft7 years agoCommunity Support
You can use Group rest api like
POST https://api.powerbi.com/v1.0/myorg/groups/{groupId}/usersFor more details, please refer to power bi rest api reference:
https://docs.microsoft.com/en-us/rest/api/power-bi/groups/addgroupuser
Community Support Team _ Jimmy Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.