Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Tom-CK
New Member

Set "Build"-permission for a dataset programmatically

In our workspace in PowerBI service there is a shared dataaset.
The users for this workspace are changing very often, so I created a script in PowerShell to process a list of users and grant them "View" permissions to the workspace.

Now we found out, that users additionally need a "build"-permission granted on a shared dataset - otherwise they are not able to export data to excel (see Build permission for shared datasets - Power BI | Microsoft Docs).

Is there any solution (PowerShell, Rest-API, .....) to grant the build permisssion for a shared dataset porgrammatically ?

2 REPLIES 2
V-lianl-msft
Community Support
Community Support

Hi @Tom-CK ,

 

I'm afraid there isn't such a API for now. You could create a new idea to help improve power bi.

https://ideas.powerbi.com/ideas/ 

As @lbendlin mentioned earlier, you can also use it as an alternative .

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

lbendlin
Super User
Super User

Instead of granting access to users consider to move your access process to distribution lists, and manage list membership outside of Power BI.

Helpful resources

Announcements
RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel

Fabric Monthly Update - May 2024

Check out the May 2024 Fabric update to learn about new features.

LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.