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 Automate
Unanswered

delete all approvals

(0) ShareShare
ReportReport
Posted on by

Guys, is there a way to completely remove or delete all approvals in my list.  I accidentally set a recurrence to 1 minute yesterday and today i am showing 100's of approvals.

 

flow.JPG

Categories:
I have the same question (0)
  • v-yuazh-msft Profile Picture
    on at

    Hi @Anonymous,

     

    I afraid tha you could only deleting all approvals by approve the request one by one from the approval list in microsoft flow currenctly.

    I afraid that there is no any way to remove or delete all approvals in your approval list without approve the request one by one.

     

    If you want the function to remove or delete all approvals in the approval list to be supported in Microsoft Flow currently, please submit an idea to Flow Ideas Forum:

    https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

     

    Best regards,

    Alice

  • Verified answer
    ScottShearer Profile Picture
    25,270 Most Valuable Professional on at

    @Craig7:

     

    As @v-yuazh-msft has mentioned, you'll need to address these one at a time.  However, they'll go away on their own in 30 days if no action is taken.

  • Community Power Platform Member Profile Picture
    on at

    If the flows are cancelled that generated these approvals, THESE APPROVALS SHOULD AUTOMATICALLY BE REMOVED!!! This is a terrible oversight on the Flow Teams' part. This is very annoying. They should also go away if they time out on the action (i have a 15 minute timeout on mine). 

     

  • ZachS15 Profile Picture
    63 on at

    If you're a developer just looking to clear an account's approvals (approve or reject, not delete), then this script will work. I created a loop that just uses jQuery to approve each card by simulating button clicks and pauses. I had over 400+ approvals to clear and it only took a few minutes. You have to be on the Flow approvals page that displays the cards to run it.

     

    If you need to reject cards you can change 

    button:first-child

    to 

    button:last-child

    Here's the code:

    //Get all approval cards on the page
    var appCards = jQuery('.approval-card .actions > button:first-child');
    var i = 0;
    
    (function approveCard() {
     //Pause for each approval
     setTimeout(function () {
     //Approve the card
     appCards.eq(i).click();
    
     //Wait for panel to open
     setTimeout(function () {
    			//Confirm approval
     jQuery('.confirmSection .fl-NgReactDefaultButton > button').click();
     }, 2000);
    
     //Go to next approval card
     i++;
    
     //If there are more cards, approve the next one
    		if(i < appCards.length)
     approveCard();
    
     }, 2000)
    })();
  • reinrag Profile Picture
    6 on at

    @Anonymous wrote:

    If the flows are cancelled that generated these approvals, THESE APPROVALS SHOULD AUTOMATICALLY BE REMOVED!!! This is a terrible oversight on the Flow Teams' part. This is very annoying. They should also go away if they time out on the action (i have a 15 minute timeout on mine). 

     


     

    Agree - why is this not a thing? It is putting many of our customers off using PowerAutomate for approvals. It is bad housekeeping approach

  • PrasadAthalye Profile Picture
    on at

    I agree... This is very badly needed.. 

  • PrasadAthalye Profile Picture
    on at

    Can you please explain how you have used 15 minutes timeout ? Which action has 15 minutes timeout? 

  • Community Power Platform Member Profile Picture
    on at

    You have to click settings on the top right menu:

    levijohnson_0-1601569294127.png

     

    and then put in the Timeout setting. 

    levijohnson_1-1601569317860.png

     

  • PrasadAthalye Profile Picture
    on at

    Thanks for the response. Yes I am aware of it but you can not time out an approval in 15 mins. Approver can approve in 2 days as well. I think I manage to find a solution that someone mentioned related to CDS. I am working on developing it. 

  • chiguypaul Profile Picture
    51 on at

    I have not found that these disappear in 30 days as you described @ScottShearer 

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 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard