Skip to main content

Notifications

Power Automate - Building Flows
Unanswered

When a HTTP request is received - Getting 401 Unauthorized Error

Posted on 26 Nov 2024 15:19:59 by 18
Hi,
 
I have two Flows,
 
One Flow Send an Adaptive Card to Outlook.
Another Flow is When an Http request is received. (Once Button is Clicked from Adaptive Card in the Mail, response should send to this Flow)
 
In the Flow, I am sending the adaptive card to Outlook Mail and from the mail if i click on the Button in Adaptive Card, response is not sending to the Flow.
Displaying 401 HTTP Error.

Can help me to resolve this issue.
 
 
 
I have Tried the URL with Postman and i received 401 Unauthorized Error.

 
 Thanks.
Postman.png
  • Suggested answer
    rzaneti Profile Picture
    rzaneti 3,175 on 26 Nov 2024 at 22:08:52
    When a HTTP request is received - Getting 401 Unauthorized Error
    Hi,
     
    You are getting this error because your HTTP request requires an authentication token. You can easily remove this requirement by changing the Who can trigger the flow? property to Anyone. This approach, however, will allow anyone with this URL to make requests that will trigger the flow, which is a potential cybersecurity risk depending on your use case.
     
    If you need to keep the HTTP requests limited to Any user in my tenant, you can follow the steps from this video to generate the authentication token.
     
    Let me know if it works for you or if you need any additional help!
    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.
     

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,129

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,797

Leaderboard