Forum Discussion
How to Upload DataFlow via Custom Azure Web Function
HI shane-ds,
Did you mean to use azure function to invoke power bi rest API? if that is the case, I'd like to suggest you to take a look at the following blog:
Developing for Power BI using Azure Functions - Ju... - Microsoft Power BI Community
Regards,
Xiaoxin Sheng
Yes, I'm using an Azure Function to invoke the PowerBI REST API. The blog only covers Service Principal authentication, which I already understand and have working.
According to the following PowerBI REST API documentation page
https://learn.microsoft.com/en-us/rest/api/power-bi/imports/post-import
Limitations
- Dataflows with service principal aren't supported.
This is the blocker. I need it unblocked. The code I've writted verifies that Service Principals are indeed arbitrarily denied the ability to upload a DataFlows. I need an alternate means or backdoor to get around this arbitrary denial of service. Or a means of getting a user Access Token that can bypass MFA and isn't presented with 'Forbidden' whenever I try to invoke the Power BI REST API using such a token.