Share via

401 Unauthorized HTTP Request Trigger in Logic App

Clint Meade 0 Reputation points
2025-10-02T19:51:02.54+00:00

I have an integration partner receiving a 401 UNAUTHORIZED when hitting my HTTP Request trigger to post JSON payload. Works for me from postman, are they doing something wrong?

Azure Logic Apps
Azure Logic Apps

An Azure service that automates the access and use of data across clouds without writing code.


1 answer

Sort by: Most helpful
  1. Pashikanti Kumar 1,725 Reputation points Microsoft External Staff Moderator
    2025-10-02T22:05:19.6166667+00:00

    Hi Clint Meade,

    Verify Authentication Setup:

    • Confirm the Logic App HTTP trigger's authorization settings—does it use Function keys, Shared Access Signature (SAS), or OAuth?
    • If using function keys, ensure the partner includes the key in the URL query string or the Authorization header exactly.
    • For OAuth or API-authorized endpoints, verify the token is correctly obtained and presented.

     

    Use Diagnostic Logs and x-ms-request-id:

    • With the provided x-ms-request-id, search Azure Monitor or Log Analytics for detailed failure context.
    • In the Azure portal’s "Monitor" > "Logs" section linked to your Logic App’s resource, run:

     

    AzureDiagnostics | where requestId_s == "northcentralus:ddf49562-52c8-4c23-b24c-9d7dd2064d98"
    
    

     

    • This can expose why the request was rejected even if it does not appear in run history.

     

    Recreate the Logic App Trigger or Connector:

    ·         If nothing else helps, recreate the HTTP trigger or API connection in Logic App to reset any hidden config errors.

    Reference

    Check workflow status, view run history, and set up alerts - Azure Logic Apps | Microsoft Learn

    Kindly let us know if the above helps or you need further assistance on this issue.

    Please "Upvote" if the information helped you. This will help us and others in the community as well.

    Thanks

    Was this answer helpful?

    0 comments No comments

Your answer

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