cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AmarPatil9496
Regular Visitor

Power automate customized approval process

Hello,

 

I am trying to create one application using SPFX and Power Automate for simple 3 levels of approval. I have used below actions to process my approval. After creating approval, I am getting "Respond link" and updating it in SharePoint list. But my requirement is not to redirect to approvals page of Power automate but to pass response "Approve"/"Reject" to approval, somehow using API call or may be something else from MS flow itself(HTTP request). 

AmarPatil9496_1-1608633837186.png

Could you please help me with this? If Http request action to be used, how I can register my flow app and also which type of authentication should be used. API - https://api.flow.microsoft.com is not accessible with Basic authentication.

Requirement is to Approve/Reject request from Code(On click of Approve/Reject button on the form), without any intervention of Approval page.

 

Thanks in advance!!

Amar

 

3 REPLIES 3
AmarPatil9496
Regular Visitor

Can anyone help me with the problem I am facing? Looking forward for the positive response.

Thanks in advance!!

 

Amar

VictorIvanidze
Community Champion
Community Champion

Hi @AmarPatil9496, you definitely can do what you want using  the premium connector "HTTP with Azure AD" and GRAPH requests.

Unfortunately I'm unable to provide you detailed instructions, as it's my own "know how".

--------------------------------------------------------------------------------------
Contact me if you are interested in custom Power Automate development.

Thanks Victor,

I just wanted to know which could be the correct endpoint for this. E.g. https://api.flow.microsoft.com 

Also, which type of authentication is needed?

 

Regards,

Amar

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

Carousel_PP_768x460_Wave2 (1).png

2022 Release Wave 2 Plan

Power Platform release plan for the 2022 release wave 2 describes all new features releasing from October 2022 through March 2023.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (4,825)