I want to directly access and edit the JSON code of Flows without manually importing / exporting, including :
- Flows that are not in solutions
- All JSON code for the flow, not just the parts accessed by the Create Flow and Update Flow actions (which can only edit the definition + connectionreferences parts)
Now you might say, well sorry, that's not possible, there is no way to do that.
But that's not true. John Liu's Power Studio let's you directly edit the entire JSON. I've tested it myself. So my question is. How is the app accessing that functionality?
You can see the list of permissions used by Power Studio here. Something to do with Azure Management API? I can't figure it out!
I've searched everywhere for possibilities.
- PowerShell Commandlets can't seem to do it.
- There is a REST API for Power Automate that let's you Patch flows, but it's only available for solutions.
Seems John Liu has even figured out how to use the API to get to the JSON definition of previous versions of the flow.
He has some deep knowledge of various undocumented parts of flow, and wants to make some money with that.
He mentions some of his knowledge here
So there is definitely a lot more possible than we can see now.
An update on this issue. I contacted John Liu, who told me that the application uses some APIs that are not listed in the Microsoft Power Automate documentation, but did not elaborate.
I am disappointed. We are a large hospital chain and this capability would be extremely helpful to wider deployment of Power Automate across the organisation. Even accepting that this API is undocumented and using it takes on some risk, I wish to know it so that we can make that decision for ourselves.
If anyone in this community knows what these undocumented APIs might be, or even has some suggestions for areas to search, this would be greatly appreciated.
Tomac
986
Moderator
stampcoin
699
Super User 2025 Season 2
Riyaz_riz11
577
Super User 2025 Season 2