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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
kanth999
Helper I
Helper I

MicrosoftPowerBIMgmt commands were not working on Mac OS

Hi Team, 

 

i am using the Mac OS and installed the MicrosoftPowerBIMgmt commands when I try to login my MAC terminal to PowerBI getting the below issue and am not able to execute any queries can you please help me, anyone. ?

 

kanth999_0-1650586904783.png

 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @kanth999 ,

 

According to your statement, I think you are trying to use PowerShell commands on Mac OS.

1. Please check the version of PowerShell Core on Mac OS.

For reference: Microsoft Power BI Cmdlets for Windows PowerShell and PowerShell Core

Supported environments and PowerShell versions

  • PowerShell Core (v6) and up on any OS platform supported by PowerShell Core.

2. Before you run this command, make sure you log in using Connect-PowerBIServiceAccount.

3. MicrosoftPowerBIMgmt commands like MicrosoftPowerBIMgmt.Admin needs the calling user to be a tenant administrator of the Power BI service.

4. This error seems to be MSAL.NET error. You may refer to this offical blog to learn more details.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @kanth999 ,

 

According to your statement, I think you are trying to use PowerShell commands on Mac OS.

1. Please check the version of PowerShell Core on Mac OS.

For reference: Microsoft Power BI Cmdlets for Windows PowerShell and PowerShell Core

Supported environments and PowerShell versions

  • PowerShell Core (v6) and up on any OS platform supported by PowerShell Core.

2. Before you run this command, make sure you log in using Connect-PowerBIServiceAccount.

3. MicrosoftPowerBIMgmt commands like MicrosoftPowerBIMgmt.Admin needs the calling user to be a tenant administrator of the Power BI service.

4. This error seems to be MSAL.NET error. You may refer to this offical blog to learn more details.

 

Best Regards,
Rico Zhou

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.