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

Join us at the 2025 Microsoft Fabric Community Conference. March 31 - April 2, Las Vegas, Nevada. Use code FABINSIDER for $400 discount. Register 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!

FebFBC_Carousel

Fabric Monthly Update - February 2025

Check out the February 2025 Fabric update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.