Power BI PowerShell (MicrosoftPowerBIMgmt)
freeMicrosoft's official PowerShell cmdlets for managing Power BI, covering workspaces, reports, datasets, capacities, and tenant administration.
- Category
- platform-apis
- Type
- library
- Language
- PowerShell
- Maintainer
- microsoft
- Author
- Microsoft
- Added
- Jun 6, 2026
What it does
Power BI PowerShell (the MicrosoftPowerBIMgmt module) is Microsoft’s official set of PowerShell cmdlets for managing Power BI. It covers workspaces, reports, datasets, dashboards, tiles, imports, and capacities, and supports both individual and organization (tenant admin) scopes. When a cmdlet does not exist for a given operation, Invoke-PowerBIRestMethod reuses the authenticated session to call the Power BI REST API directly.
Why use it
Use it to automate Power BI administration and content operations from PowerShell scripts and pipelines, from provisioning and managing workspaces to publishing and exporting reports, without writing raw REST calls by hand.
Getting started
Install-Module -Name MicrosoftPowerBIMgmt
Connect-PowerBIServiceAccount
You can install individual submodules (for example MicrosoftPowerBIMgmt.Workspaces) if you only need part of the surface. Requires Windows PowerShell 3.0 or later with .NET 4.7.1+, or PowerShell Core 6+.