Approve/ Reject Teams approvals request using code or api

Mahi_Vasanth 11 Reputation points
2022-08-10T11:10:47.76+00:00

I am trying to create a microsoft teams approvals request from Power Automate. The request can be approved either in Teams approvals app or in other platform. I am trying to approve/ reject that active request created via Power Automate via code or through any API. So is it possible to approve / reject the running flow via code or any API?

It would be really appreciated if I get the any workaround to do that.

Microsoft Teams Development
Microsoft Security Microsoft Entra Microsoft Entra ID
Microsoft Teams Microsoft Teams for business Other
{count} votes

3 answers

Sort by: Most helpful
  1. Meghana-MSFT 4,116 Reputation points Microsoft External Staff
    2022-08-11T10:45:19.28+00:00

    There is no API available for this. Please go through the following resources to achieve this

    1. https://learn.microsoft.com/en-us/power-automate/modern-approvals
    2. https://learn.microsoft.com/en-us/power-automate/all-assigned-must-approve#approval-types-and-their-behaviors

    Thanks,
    Meghana


    If the response is helpful, please click "Accept Answer" and upvote it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate.


  2. N-M6541 1 Reputation point
    2022-08-11T16:43:34.047+00:00

    3/5/2018 · When you first open Microsoft Flow within Microsoft Teams, you need to login in to Microsoft Flow with your Office 365 account. I have made a test on my side and don't have the issue that you mentioned. My flow's configuration as below: The Approval shows up within the Approval tab of Microsoft Teams

    0 comments No comments

  3. James Hamil 27,211 Reputation points Microsoft Employee Moderator
    2022-11-09T20:59:33.733+00:00

    Hi @Mahi_Vasanth , As Meghana said there's no API for this yet but I suggest filing a feature request here for one if interested.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.