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

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

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
v-rzhou-msft
Community Support
Community Support

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
v-rzhou-msft
Community Support
Community Support

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
Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!