Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Has anybody gotten this to work in PowerShell?
Solved! Go to Solution.
Hey @kerski,
You have to login first before you can run the command. So your Power Shell should look like this:
Login-PowerBIServiceAccount
Get-PowerBICapacity -Scope Individual
This is as long as you are using the regular public enivronment for Power BI (Non-government cloud).
Proud to be a Super User!
I have the issue too:
Get-PowerBICapacity : Login first with Login-PowerBIServiceAccount
At line:5 char:1
+ Get-PowerBICapacity -Scope Individual
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Get-PowerBICapacity], Exception
+ FullyQualifiedErrorId : System.Exception,Microsoft.PowerBI.Commands.Capacities.GetPowerBICapacity
Hey @kerski,
You have to login first before you can run the command. So your Power Shell should look like this:
Login-PowerBIServiceAccount
Get-PowerBICapacity -Scope Individual
This is as long as you are using the regular public enivronment for Power BI (Non-government cloud).
Proud to be a Super User!
Hey @mbutler71 ,
Seems to be working fine for me. What error are you receiving?
Proud to be a Super User!
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |