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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric challenge.

Reply
paulv
Frequent Visitor

Automate fabric workspace administration via powershell

Hi,

 

at the moment we are evaluating fabric to replace a custom solution with differnent Synapse and a single Purview instance for our organisation.

 

My question is, is it possible to automate several administrative tasks, like

- creation of workspaces or

- the role assignemants for these workspaces

for example via powershell?

 

For Azure Synapse, this is possible for Synapse via Powershell and partly for Purview.

 

At the moment this is possible for Synapse, but the role assignement is possible in Purview.

 

If not, is it planed? and if yes, when should this feature be available?

 

 

Thanks,

 

Paul

1 ACCEPTED SOLUTION
DennesTorres
Impactful Individual
Impactful Individual

Hi,

There are Powershell features to make the creation of a Power BI workspace, for example: https://learn.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.workspaces/new-powerbiworks...

The deployment pipelines are available in power BI and can be integrated with Azure DevOps. I believe this will evolve towards this direction you are looking for.

Kind Regards,

 

Dennes

View solution in original post

2 REPLIES 2
HimanshuS-msft
Community Support
Community Support

Hello @paulv 
Just to add what @DennesTorres  mentioned , I did tried these and it did the trick .  doc should also help you .

Install-Module -Name MicrosoftPowerBIMgmt
Login-PowerBIServiceAccount
New-PowerBIWorkspace -Name "New Workspace-Himanshu"
Add-PowerBIWorkspaceUser -Id "GuidforWS" -UserEmailAddress XXX@YYY.com -AccessRight Admin


Thanks
HImanshu

DennesTorres
Impactful Individual
Impactful Individual

Hi,

There are Powershell features to make the creation of a Power BI workspace, for example: https://learn.microsoft.com/en-us/powershell/module/microsoftpowerbimgmt.workspaces/new-powerbiworks...

The deployment pipelines are available in power BI and can be integrated with Azure DevOps. I believe this will evolve towards this direction you are looking for.

Kind Regards,

 

Dennes

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.

Expanding the Synapse Forums

New forum boards available in Synapse

Ask questions in Data Engineering, Data Science, Data Warehouse and General Discussion.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

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

MayFBCUpdateCarousel

Fabric Monthly Update - May 2024

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