Skip to main content

Notifications

Community site session details

Community site session details

Session Id : avyjZxVslfXzSgIitWps3X
Power Automate - Building Flows
Unanswered

How to post a choice of options to Microsoft Teams asynchronously?

Like (0) ShareShare
ReportReport
Posted on 4 Feb 2021 08:29:08 by

I have a website developed using ASP.NET Core 5.0. I would like to implement Approve / Reject approval workflow from the website at a point in the application. So created an Azure Logic App as shown in the below screenshot which can be invoked from the website. The three steps in logic app are:

  1. HTTP Request - when a HTTP request is received
  2. post a choice of options as the flow bot to a user (one of the actions in Microsoft Teams)
  3. HTTP Response - To send user's selection / response back

Logic App StepsLogic App Steps

 

MicrosoftTeamsMessage.jpg

The logic app sends a message to the user in Microsoft Teams and captures the user's response, either Approve or Reject successfully. But this is all synchronous i.e. the logic app is waiting until the user is responded.

If the user takes two days to respond to the message in Teams to Approve or Reject, my code calling the logic app has to wait for two days too which is not desirable.

Is there any way to implement this functionality asynchronously?

  1. Send a message from the application / website to Microsoft Teams and do not wait synchronously
  2. Capture the user's response (Approve / Reject) from Teams and record it in application / website

Your help is very much appreciated.

  • PrasadAthalye Profile Picture
    4,795 on 05 Feb 2021 at 02:09:38
    Re: How to post a choice of options to Microsoft Teams asynchronously?

    Can you please explain, why your ASP.NET application needs to wait for 2 days? HTTP Post returns 200 accepted status and kicks off the flow. Calling Application does not need to wait. I have the same exact Solution implemented and it works absolutely fine.  I am invoking an HTTP call and Flow is kicked off. An application HTTP request is fulfilled as Flow returns 200 Accepted status. 

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Leaderboard > Power Automate - Building Flows

#1
David_MA Profile Picture

David_MA 310 Super User 2025 Season 1

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 271 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 249

Overall leaderboard
Loading started
Loading complete