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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
Microsoft Employee
Microsoft Employee

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
August Fabric Update Carousel

Fabric Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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