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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.