Forum Discussion
Sharing a report through API
We don’t want to have manual steps in Production Workspace. The reports already contain RLS embedded in them. The option of having viewer roles doesn’t quite work in this case as all reports will be visible to all the viewers. Each report is to be shared with a specific AD Group.
Hi prabhuduttadas ,
Based on my research, there is no option about sharing report through API in power bi currently. You can use REST API to get the lists of users who had been shared a report. Please refer this issue: PowerBI REST API - Get Users who had been shared a Report
Perhaps you can submit the requirement to ideas and add your comments there to help us improve power bi and make this feature coming sooner: https://ideas.powerbi.com/forums/265200-power-bi-ideas
About ways to share reports, please refer the microsoft document hopes to help you:
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
2 Replies
- v-yingjlCommunity Support
Hi prabhuduttadas ,
Based on my research, there is no option about sharing report through API in power bi currently. You can use REST API to get the lists of users who had been shared a report. Please refer this issue: PowerBI REST API - Get Users who had been shared a Report
Perhaps you can submit the requirement to ideas and add your comments there to help us improve power bi and make this feature coming sooner: https://ideas.powerbi.com/forums/265200-power-bi-ideas
About ways to share reports, please refer the microsoft document hopes to help you:
Best Regards,
Yingjie LiIf this post helps then please consider Accept it as the solution to help the other members find it more quickly.
- Greg_DecklerCommunity Champion
I am not aware of that functionality in the API currently.
https://docs.microsoft.com/en-us/rest/api/power-bi/