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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Power Automate "Wait f...
Power Automate
Suggested Answer

Power Automate "Wait for an Approval" Not Resuming After Delayed Approval Response

(0) ShareShare
ReportReport
Posted on by 4

When an approver responds through Microsoft Teams, the flow resumes almost immediately and continues processing.

However, in our application, we update the approver's response (Approve/Reject) in a Dataverse table through an API. Although the response record is created successfully in Dataverse, the flow remains stuck at the Wait for an Approval action for a significant amount of time before eventually resuming and completing.

Is there a way to achieve the same near real-time behavior as a Teams approval response, so that the flow continues immediately when the approval status is updated through the API/Dataverse instead of waiting for the approval action to resume?

Categories:
I have the same question (0)
  • Suggested answer
    chiaraalina Profile Picture
    2,425 Super User 2026 Season 1 on at
     
    This  is a fundamental architectural limitation, not a configuration error.
     
    Teams/Email Approvals (Immediate): Event-Driven
    Dataverse Direct Writes (Delayed): Passive Polling
     
    Instead of writing to Dataverse tables, call the official Approvals API from your external application:
     
              https://api.flow.microsoft.com/providers/Microsoft.ProcessSimple/environments/<environment>/approvals/<id>/approvalResponses 
        
    Body: { 
        "properties": {
            "response": "Approve",
            "comments": "Comment" 
        }
    }  
        
      
     
     
    This is also almost real time. 
     
    Let me know if it worked!
  • CU08061146-1 Profile Picture
    4 on at
    How do we integrate this api directly in our application, and what are the headers and how do we authenticate it. 
  • chiaraalina Profile Picture
    2,425 Super User 2026 Season 1 on at
    Hi
     
    What application is it? PowerApp? Web App?
     
    Which account is used for the approval? The loggin user or a service account?
  • CU08061146-1 Profile Picture
    4 on at
    Hi @chiaraalina,

    It's the Web App, we are using the service account.
  • Suggested answer
    chiaraalina Profile Picture
    2,425 Super User 2026 Season 1 on at
     
    If it is a service account I suggest this:
     
    Schema example:
    {
        "type": "object",
        "properties": {
            "approvalId": {
                "type": "string"
            },
            "response": {
                "type": "string"
            },
            "comment": {
                "type": "string"
            }
        }
    }
     
     
    Also secure the first step:
     
    Generate a secret for example Secret123 (choose better), so the flow will only trigger if the secret is correct.
     
     
    Then do the request like described in my previous answer, but pass the input variables
     
     
    Response is "Approve" if you want to approve. 
     
     
    Use your service account for the connection for the Approve (Invoke HTTP request action - described in the previous comment) step and make sure your service account is allowed to approve the approval.
     
    Save it and then use the generated HTTP URL to send Post request from your Web App.
     
    Let me know if it worked!
     

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard