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
PBI_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Get Ready for Power BI Dev Camp

Microsoft named a Leader in The Forrester Wave

Microsoft received the highest score of any vendor in both the strategy and current offering categories.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.