web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 4cQ+UZ2zQT2/PEUn/Gd2Gp
Power Automate - Using Flows
Unanswered

Jamf Pro's Webhook Gets 401 Response

Like (0) ShareShare
ReportReport
Posted on 28 Jan 2020 19:01:36 by 6

Good Afternoon,

 

We use a product called Jamf Pro here where I work. We have an issue where when using the HTTP Request trigger, we get a 401 response when the application does the POST to the MS Flow. However, if I have the Jamf Webhook do a POST to a server and that server then spits the POST data to MS Flow, it works as expected.

 

Anyone know why I could be getting a 401 on a HTTP Request triggered Flow? Any possible solutions?

 

P.S: I don't even see a run occur, it has no evidence of getting the request.

  • cybertunnel Profile Picture
    6 on 04 Nov 2020 at 15:51:35
    Re: Jamf Pro's Webhook Gets 401 Response

    Sure, so the example would be:

    Power Automate's HTTP Request gives you https://prod-01.westus.logic.azure.com:443/workflows/c1eb430f20b34e4e9d16b14079b189f3/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=PAyfkUq-N6y9o9BS1m_Ak6tRFxrffGXWQz039U

    You would switch it to `https://prod-01.westus.logic.azure.com:443/workflows/c1eb430f20b44e4e9d16b04079b189f3/triggers/manual/paths/invoke?api-version=2016-06-01&sp=/triggers/manual/run&sv=1.0&sig=PAyfkUq-N6y9o9BS1m_AuyMv3k6tRFxrffGXWQz039U

     

    Basically replacing %2F with / since Jamf will do URI encoding when it performs the request. I was only able to figure this out then I was looking at the DEBUG logs in Jamf Pro.

  • geoffreykobrien Profile Picture
    4 on 04 Nov 2020 at 15:44:35
    Re: Jamf Pro's Webhook Gets 401 Response

    thanks for that, do you have an example flow that I could reference for doing that?

  • cybertunnel Profile Picture
    6 on 04 Nov 2020 at 15:38:39
    Re: Jamf Pro's Webhook Gets 401 Response

    Yes, turns out Jamf does URI encoding, but Power Automate already did URI encoding. So you basically have to decode the URI encoded URL, and put it into Jamf. Which is where it encodes it properly and then it begins working again.

  • geoffreykobrien Profile Picture
    4 on 03 Nov 2020 at 14:20:33
    Re: Jamf Pro's Webhook Gets 401 Response

    did you ever get this working, im trying to figure out the connection to jamf as well.

  • cybertunnel Profile Picture
    6 on 29 Jan 2020 at 15:22:00
    Re: Jamf Pro's Webhook Gets 401 Response

    Thanks for the response.

     

    So the flow is pretty simple, the flow is triggered by a HTTP Request and just sends a response for now of a 200. I can do a curl, post, etc on any other means. However when the  application we use attempts to do a HTTP request it gets a 401

  • v-bacao-msft Profile Picture
    on 29 Jan 2020 at 02:23:20
    Re: Jamf Pro's Webhook Gets 401 Response

     

    Hi @cybertunnel ,

     

    If the error code is displayed as 401, it means that the current user may not have permission to access specific resources and needs to be authenticated.

    Could you share the detailed configuration of Flow?

     

    Best Regards,

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics

Restore a deleted flow
Loading complete