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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Bug: In Power Automate...
Power Automate
Suggested Answer

Bug: In Power Automate, 'Flow Update' shows that the flow definition is invalid.

(0) ShareShare
ReportReport
Posted on by 6
2025/4/17は正常終了したが、2025/5/17で"フローの更新"でエラーが続いています。
原因は入力パラメータは正常時とエラー時で同じことを確認しています。
"フローの更新"のアクションのアップデート等実施されましたか?
 
<エラーメッセージ>
Flow definition is either empty or invalid for the flow 'FlowID'.
 
 
2025/4/17 ended normally, but 2025/5/17 is still giving errors in "Flow Update".
We have confirmed that the cause is that the input parameters are the same in both normal and error cases.
Have you updated the "Flow Update" action?
 
<Error message>
Flow definition is either empty or invalid for the flow 'FlowID'.
Categories:
I have the same question (0)
  • TT-03090125-0 Profile Picture
    6 on at
    What I want to do is to avoid having a flow execution that has an interval of more than 90 days,
    so I update the target flow once every 60 days.
  • LB-27050733-0 Profile Picture
    2 on at
    I am having the same issue, pretty much same setup to get flow and update flow to keep some active. 
     
    Issue happened around the same time this bug was posted so maybe Microsoft changed something. For me it started on May 19, 07:59 AM 2025.
  • Suggested answer
    CU11060116-0 Profile Picture
    6 on at
    同時期に発生し、MSサポートへ問い合わせました。
    回答は各地で発生しているとのことで、以下の対処策を案内されました。
    ・(フローの作成時同様に)接続参照を設定する必要がある

    以下のように対象のフローの取得アクションで対象フローの接続参照を取得、
    その際そのまま入れるとdisplaynameが含まれるとエラーになるため、
    一旦選択アクションでdisplaynameを除外しconnectionnameとidのみにします。

    そしてフローの更新アクションに指定すると解消されました(フローも更新された)



    MSサポートへはいままでは無くても正常だったのだから
    バグですよね?解消する予定はあるか?その目途は?と質問中で返答待ちですが、

    バグとして早急に修復してくれるのであればなにもしなくても待てば解消するでしょうが、
    急ぎであれば上記対応で解消すると思います。お力になれれば

    ※接続がないフローの場合は逆に空の配列を渡す形になりエラーとなるので、その場合は接続参照には何も渡さない実装であれば正常終了します。
    -
    This happened at the same time, so I contacted MS support.
    The answer was that it was happening all over the place, and I was given the following solution.
    - You need to set the connection reference (just like when you create a flow)

    Get the connection reference of the target flow using the get action for the target flow as shown below,
    If you enter it as is, an error will occur if the displayname is included, so
    First, exclude the displayname with the select action and leave only the connectionname and id.

    Then, when I specified it as the flow update action, it was resolved (the flow was also updated)



    I contacted MS support and asked them if it was a bug because it was working fine without it before,
    and I'm waiting for their reply,

    If they fix it as soon as possible as a bug, it will probably be resolved if I wait without doing anything,
    but if it's urgent, I think the above will resolve it. I hope I can help you.

    *If there is no connection, an empty array will be passed and an error will occur. In that case, if you do not pass anything to the connection reference, the implementation will end normally.
  • Suggested answer
    CU11060116-0 Profile Picture
    6 on at
    追記

    コネクタ参照を再指定する場合でも一部エラーとなるケースがありました。
    同じ種類のコネクタで複数の接続を利用している場合に
    SPOの場合だとアクションのConnectionNameが"shared_sharepointonline"のみではなく "shared_sharepointonline_1"や_2がある場合があります。
    このケースだとフローの更新アクションで重複しているエラーが発生しました。

    一つしか接続を使わない場合はフローの接続を修正してConnectionNameが"shared_sharepointonline"のみとなるようにすれば解消しますが、
    意図的に複数使っている場合はアウトです。
    また上記は複数接続をやり替えたりしていると意図せずConnectionNameが"shared_sharepointonline_1"のようになっていることが多々あります。
    そういった部分を加味しての対応はかなり骨が折れるので暫定対応ではなく、
    従来の動作に修正してくれないと困ります。とサポートへお伝えしてます。
    -
    Additional Note

    Even when re-specifying the connector reference, some errors occurred.
    When using multiple connections with the same type of connector
    In the case of SPO, the action's ConnectionName may not only be "shared_sharepointonline" but may also be "shared_sharepointonline_1" or _2.
    In this case, a duplicate error occurred in the flow's update action.

    If you only use one connection, you can resolve this by modifying the flow's connection so that the ConnectionName is only "shared_sharepointonline",
    but if you are intentionally using multiple connections, this is a no-go.
    Also, when switching between multiple connections, the ConnectionName often unintentionally becomes "shared_sharepointonline_1".
    Taking all of this into account would be a huge undertaking, so we've told support that it's not a temporary fix, but that we'd be in trouble if they fixed it back to the previous behavior.
  • Suggested answer
    CU11060116-0 Profile Picture
    6 on at
    続報!吉報です!
    2025/6/11 18時ごろに再度サポートより連絡があり本件、
    ロールバックされ、以前の状態に解消したとのことです。

    同日20時ごろ試したら、以前の実装(接続参照を再設定せず未入力のまま)で正常終了しました!

    今後、もしかしたらconnectionReferencesを設定する必要が再導入される可能性があるかもしれないが、
    その際はメッセージセンターなどで事前に通知するとのことでした。


    修正せず解消してよかった!

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard