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
Any news?
I have the same issue
FYI, after working with Microsoft Support, it was discovered that our Power platform is on US-Gov Texas, and Power BI REST API was being called from Azure-Commercial US-East Databricks Workspace using Python requests library. We were unable to authenticate via Azure AD for the REST API because our Power Platform and Azure Databricks Workspace are under different regions. We were advised by Microsoft to migrate our Power Platform to US-East via support ticket to align the regions, however, our organization's management have not made the decision due to uncertainty from the migration impact.