SOLVED

PowerShell Module for PowerBi GCC

Copper Contributor

The Powershell module does not work with GCC. The only thing I can do is connect and get a token.

When making a request, I am getting an "unauthorized" 401 or 403 as it is requesting to the Commercial API(non GCC).

 

It would be cool if we could have the RequestUri as a parameter so that we could change it to what we need which is "https://api.powerbigov.us/v1.0/myorg/" instead of "https://api.powerbi.com/v1.0/myorg/".

 

 

Is it on the roadmap to get it fixed/created?

 

thanks!

1 Reply
best response confirmed by Ladji_Binate (Copper Contributor)
Solution

Logging in with -Environment USGov solved my issue. 

1 best response

Accepted Solutions
best response confirmed by Ladji_Binate (Copper Contributor)
Solution

Logging in with -Environment USGov solved my issue. 

View solution in original post