web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Trigger Flow from SPO ...
Power Automate
Answered

Trigger Flow from SPO List button not working (if flow sits in environment other than default)

(0) ShareShare
ReportReport
Posted on by 241

Hey, 

I am trying to trigger a Flow to run from a SharePoint list column using the JSON below. It's a SPO list column that was formatted to look like a button to trigger the flow. 

This only triggers the Flow if the flow 'lives' in the default environment. 

Is this a known limitation? 

 

 

{
 "$schema": "https://developer.microsoft.com/json-schemas/sp/v2/column-formatting.schema.json",
 "elmType": "button",
 "txtContent": "Autorise Disposal",
 "customRowAction": {
 "action": "executeFlow",
 "actionParams": "{\"id\": \" [insert flow ID] \"}"
 }
}

 

 

Capture.JPG

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @DanielaHo 

     

    This is a known limitation. Flows with triggers For a Selected Item and For a Selected File follow the same criteria that the flow should be in the default environment. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Dom_125 Profile Picture
    6 on at

    It is no limitation anymore. Please refere to:
    Advanced formatting concepts | Microsoft Learn

    Do not only use the ID from url. You need to get the full ID by performing those steps:

    2024-05-09 12_24_47-2024-05-09 12_06_56-Advanced formatting concepts _ Microsoft Learn.jpg

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 176 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 96 Super User 2026 Season 1

Last 30 days Overall leaderboard