cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
haiyangl104
Frequent Visitor

Response 401: x-powerbi-error-info: GroupNotAccessible

Hi,

 

I have a premium workspace which I am a member in. However, when I tried testing API for Get Group , I'm not getting back any groups:

 

haiyangl104_0-1623184972519.png

 

Later on if I tried accessing a group, I get the following error message:

"x-powerbi-error-info: GroupNotAccessible"

Which is what I expected, because Get Groups shows no groups I have access to.

 

Any help is appreciated!

 

 

1 ACCEPTED SOLUTION
yingyinr
Community Support
Community Support

Hi @haiyangl104 ,

Please review the content in the following links, hope they can help you find any clue or insight.

Power BI REST API in GovCloud - Generate Access Token

Power BI Government API

Best Regards

Community Support Team _ Rena
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

3 REPLIES 3
yingyinr
Community Support
Community Support

Hi @haiyangl104 ,

Please review the content in the following links, hope they can help you find any clue or insight.

Power BI REST API in GovCloud - Generate Access Token

Power BI Government API

Best Regards

Community Support Team _ Rena
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

haiyangl104
Frequent Visitor

I found out that my Power BI Pro licensed account is on the Gov Cloud, with address of "https://app.powerbigov.us/". I noticed that the Power BI REST API documentation only have "https://api.powerbi.com" prefix, which is for commercial users. Calling the "commercial version" of Power BI REST API returned nothing, because all my Power BI contents are on the Gov Cloud. I tried the Gov Cloud version of API by switching to: "https://api.powerbigov.us"  but it returns the following error:

HTTPError: 403 Client Error: Forbidden for url: https://api.powerbigov.us/v1.0/myorg/groups

 

lok
Frequent Visitor

Hi @haiyangl104  

Do you find any solution? 

I am also using Power BI Government version.  I am also getting "HTTPError: 403" Client Error: Forbidden for url: https://api.powerbigov.us/v1.0/myorg/groups 

Please let me know if you have any updates. 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Power BI October Update 2021.jpg

Power BI Release

Click here to read more about the October 2021 Release!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Teds Dev Camp Oct. 2021 768x460.jpg

Power BI Dev Camp - October 28th, 2021

Mark your calendars and join us for our next Power BI Dev Camp!

Top Solution Authors
Top Kudoed Authors