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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

Power BI Carousel June 2024

Power BI Monthly Update - June 2024

Check out the June 2024 Power BI update to learn about new features.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

Top Solution Authors