Forum Discussion
SharePoint Button Web Part "Run Flow" Action Only Works in the Default Environment
- Aug 04, 2026
GullettBrian​ non-Default flows are supported on the page button web part and in the list or library quick steps. Integrate menu with Flows flyout is only Default. You can follow the steps in this article to grab the full Flow ID with the environment GUID: Advanced formatting concepts | Microsoft Learn
The solution is similar to running a flow from a "button" column in a SharePoint list. You need the identifier from "Get flow Identifier" menu item under "Export" when viewing your flow in the power automate UI (below). It will give you something like: v1/XXXXXX-b286-4a47-85da-3d0bfe4f5d34/ZZZZZ-e8ce-4525-8815-c07a38804d94. The id between "v1/" and the second "/" being the environment id (I imagine). Simply copy the whole string into the "Flow Id" parameter box when you're constructing the button control on the page.
I have confirmed this using a very simple flow, the standard "Run a flow" panel opens up in the RHS of the SharePoint page once you hit the button.
Get flow Identifier:
Run flow finds the flow in a different environment from Default
Hope that helps