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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
Oct Fabric Update Carousel

Fabric Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

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