Forum Discussion
Https 401 Unauthorized Post Request for Refreshing Power BI datasets using REST API via Python
- Anonymous5 years ago
Hi haiyangl104,
>>After digging deeper, I found out that my Power BI Pro licensed account is on the Gov Cloud, with address of
It sounds like you are working with GOV cloud.
Currently, we do not have permission to test with these types of resources. I'd like to suggest you open a support ticket to power bi team for further supports.
submit a support ticket
Regards,
Xiaoxin Sheng
Hi haiyangl104,
So you mean your accounts are split into different parts and the current one which you used only has permission to operate power bi contents not has permission to operate these APIs?
If that is the case, you can consider using the azure b2b feature to share the permission to access these contents if it works for the rest API usages.
Distribute content to external guest users with Azure AD B2B - Power BI | Microsoft Docs
Regards,
Xiaoxin Sheng
After digging deeper, 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" which is for commercial users. I looked online for GCC version of API by switching to: "https://api.powerbigov.us" but it gives me back the following error:
HTTPError: 403 Client Error: Forbidden for url: https://api.powerbigov.us/v1.0/myorg/groups
- Anonymous5 years agoNot applicable
Hi haiyangl104,
>>After digging deeper, I found out that my Power BI Pro licensed account is on the Gov Cloud, with address of
It sounds like you are working with GOV cloud.
Currently, we do not have permission to test with these types of resources. I'd like to suggest you open a support ticket to power bi team for further supports.
submit a support ticket
Regards,
Xiaoxin Sheng- haiyangl1045 years agoFrequent Visitor
For some reason clicking on "Create support ticket" says I don't have a Power BI Pro License:
But I do have a Pro license under Power BI Gov Cloud (app.powerbigov.us):
Is there any other way to get around this problem?
- Anonymous5 years agoNot applicable
Hi haiyangl104m
I'd like to suggest you submit a ticket with your gov account with 'support ticket' or 'national cloud' mode.
Regards,
Xiaoxin Sheng