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 Platform Community / Forums / Power Automate / Send Approval Authenti...
Power Automate
Unanswered

Send Approval Authentication Info to Azure Function

(0) ShareShare
ReportReport
Posted on by 4

I have an Approval Flow that calls an Azure Function via the HTTP connector.

I would like the Azure Function to run as the Approver.

 

I believe that the Approver is authenticated either via MS Outlook when viewing the email or via the browser when viewing the Dashboard, is it possible to pass that authentication token across to the Azure Function?

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,928 Super User 2025 Season 2 on at

    there is no way for you to grab their token etc no. You would have to generate a new one but then you’d have to get their info. 

    who is it running as (the flow) and stupid question maybe. Why does it matter. That sounds bad not meant too just chatting to see if we can solve it.
    Cheers
    If you like my answer, please Mark it as Resolved, and give it a thumbs up, so it can help others
    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • Matt_Fitzmauric Profile Picture
    4 on at

    Thanks for the response Mark.

     

    I'm using the flow to approve an email. The Initiator of the flow has a draft email that they want someone else to approve and send.
    They have a bunch of business rules (like converting SharePoint linked attachments into actual attachments), so i have created an Azure Function to do the heavy lifting.
    When the approval is received, the flow calls the Azure Function via an HTTP request. 
    The Azure Function has a number of application-level permissions so that it can send emails and interact with SharePoint.
    My customer asked whether the Application-level permissions could be Delegated permissions instead.

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 398 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 331 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 203 Most Valuable Professional

Last 30 days Overall leaderboard