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 / Securing HTTP Trigger ...
Power Automate
Unanswered

Securing HTTP Trigger flow via headers

(0) ShareShare
ReportReport
Posted on by 18

**Just realized I posted this under General Discussion. I created new thread in Building Flows board**

 

Hi All,

 

I have a HTTP trigger flow that I'm trying to secure using the request headers. I'm using Postman for my testing. When sending a GET I'm including a header key 'Security-Key' with value '12345'. My flow is the below where the key must be found with the proper value before completing the flow, else an error.

jestit7993_0-1696856155576.png

 

The problem I'm having is that despite the key being present in the request, the condition is failing.

jestit7993_1-1696856310229.png

 

I'd appreciate any feedback and assistance.

Categories:
  • Michael E. Gernaey Profile Picture
    53,970 Super User 2026 Season 2 on at

    @jestit7993 

     

    This means that your path you are using IN the json to check the key is wrong or the value is not seen as a string.

     

    Put a compose before your condition, keep trying your path to the Key until its correct or share the output of your ParseJSON output fully so we can help and also share what you put in your condition


    If you like my answer, I would really appreciate if you please Mark it as Resolved, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • jestit7993 Profile Picture
    18 on at

    Here is the Output of the Parse JSON on a test call.

     

     

    {
     "Connection": "keep-alive",
     "Accept": "*/*",
     "Accept-Encoding": "br,gzip,deflate",
     "Host": "REDACTED",
     "User-Agent": "PostmanRuntime/7.33.0",
     "Security-Key": "12345",
     "Postman-Token": "REDACTED",
     "Content-Length": "0"
    }

     

     

     I put a compose action after the Parse JSON to output the value of Security-Key and received 12345. The condition checks if the value of the compose action is equal to 12345.

    jestit7993_1-1696873761214.png

    Here is the result of the test with the condition failing. 

    jestit7993_0-1696873672435.png

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 445

#2
11manish Profile Picture

11manish 345 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 300

Last 30 days Overall leaderboard