PowerAutomate - Resubmit failed & cancelled Flows in bulk

Поділитися
Вставка
  • Опубліковано 1 гру 2024

КОМЕНТАРІ • 24

  • @kalistalanti7251
    @kalistalanti7251 2 роки тому +2

    Thank you for the tutorial, very helpful! Where can I read regarding other filters needed? I'd like to only retrigger failed flows since a certain date. Thanks!

    • @m365techhelp
      @m365techhelp  2 роки тому

      Thanks for your comment !
      Yes, you can filter further based on StartTime & EndTime attributes which give you flows within certain dates

  • @nehalbshah2010
    @nehalbshah2010 2 роки тому +1

    awesome stuff

  • @surendraeguvakotla1925
    @surendraeguvakotla1925 Рік тому

    Thanks for the grate content I’d like to automatically resubmit an expired Power Automate flow, but what should I use and how can i get expire flow and how to resubmit

  • @craiggilliam
    @craiggilliam 2 роки тому +1

    In your tutorial, you already have the Base Resource URL and Azure AD Resource URI (Application ID URI) in a text doc. Where do you find the data? I have hundreds of flows that failed due to 429 errors and need to resubmit them all. I'm new to Power Automate.

    • @m365techhelp
      @m365techhelp  2 роки тому

      Hi Craig
      These urls are always same for all the environments
      So you may use the same urls in your flow
      Just type in or copy the same urls in your flow , it will work without any issue

  • @BfWellington
    @BfWellington Рік тому

    Thanks for your time and videos, I followed the steps but keep getting the message "The route is missing a required provider name." Any pointers? Thanks again

  • @judevilingston3344
    @judevilingston3344 2 роки тому

    @M365 Tech Help
    Thanks the flow is running, but apply for each only gets 50 number from http request, the flow had more than 450 failed runs

  • @RLycas
    @RLycas 2 роки тому

    Thanks for this tutorial! I have a question, when the Failed status is used, it wil re-run all the previusly failed runs but this runs won't change status, so each time it wil re-run all of them also if a second re-run was successful, any chance to avoid this? in my case the flow send an email, if the first attempt fails, the second one is always successful but then when another "re-run-the-previusly-failed" flow is triggered and then another attempt is bringed on each user that already received the email, receive another one

  • @ChristianMadsen-b6b
    @ChristianMadsen-b6b Рік тому

    Hi! Great tool! I can get the 250 runs, but I cannot seem to get it to work with StartTime & EndTime attributes. I have more than 250 runs, probably 2500 or so, and would like to rerun them based on start and end time.
    I tried various combinations, but without any luck.
    Can you help me figure out how the URL should be put together to include a "before" and "after" filter, so I can work my way through the 2500 runs, without rerunning the same failed runs again?
    Alternative solutions are more than welcome! :)
    Thanks!
    BR Christian

  • @harmonizewithme
    @harmonizewithme Рік тому

    It looks like the GET call only pulls 50 items. Do you know how to get more than 50 failed items?

    • @m365techhelp
      @m365techhelp  Рік тому

      You can get 250 flows in one go , set top count

  • @M365_Minion
    @M365_Minion 2 роки тому +1

    Very cool video. How do you manage flows that have failed due to user error (e.g. forgot to attached a file) as this would just cause the flow to fail again.

    • @m365techhelp
      @m365techhelp  2 роки тому

      that you can change in the flow logic for error handling if no attachment and then resubmit using this flow if multiple

  • @NguyenKhoiBui-u4p
    @NguyenKhoiBui-u4p Рік тому

    this is amazing. However i got stuck with an error when enter the GET url into address bar: {"error":{"code":"AuthenticationFailed","message":"Authentication failed. "}} , the body of the Invoke HTTP request is blank

  • @joaovitormaia3554
    @joaovitormaia3554 Рік тому

    `hi!
    this method still works to resubmit several failed flows (for any reasons)

  • @chetanmani9869
    @chetanmani9869 2 роки тому

    Hello, this is a very usefull video. I have a question when i do the http request its only returns with 100 records. How can I increase this limit.

    • @ronn_zw
      @ronn_zw 2 роки тому

      Hi. Try turning off Asynchronous Pattern.

  • @judevilingston3344
    @judevilingston3344 2 роки тому

    I am unable to use the url of the shared flow. Could you please tell me how to do that

    • @m365techhelp
      @m365techhelp  2 роки тому +1

      I have explained that at 6:22 mark. Please have a look.
      string after environments/ is environment id
      string after flows/ is flow id.

    • @judevilingston3344
      @judevilingston3344 2 роки тому

      @@m365techhelp
      Thanks the flow is running, but apply for each only gets 50 number. I need to resubmit 450 failed runs

    • @m365techhelp
      @m365techhelp  2 роки тому +3

      @@judevilingston3344 So you can get max 250 instances at a time (unfortunately this is the limit with api call)
      Append this to the url which you used in Http call &$top=250
      for ex - api.flow.microsoft.com/providers/Microsoft.ProcessSimple/environments/Default-121df43e-a190-4d0a-8494-1b33e393aead/flows/f64d5a8e-7b5f-44ef-801e-d8284c03674f/runs?api-version=2016-11-01&%24filter=Status eq 'failed'&$top=250
      As you have 450 failed items, you need to run this flow two times.

    • @mirnaargueta3767
      @mirnaargueta3767 2 роки тому

      Hi’ is not work for me, how I get all the 500 failed and resubmit all?