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 / When a HTTP request is...
Power Automate
Suggested Answer

When a HTTP request is received - Getting 401 Unauthorized Error

(0) ShareShare
ReportReport
Posted on by 44
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.
Categories:
Postman.png

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

I have the same question (0)
  • Suggested answer
    rzaneti Profile Picture
    4,241 Super User 2025 Season 2 on at
    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.
     
  • CU28041619-0 Profile Picture
    2 on at
    Hello @Hema, have you found a solution to trigger the flow from the adaptive card without using the "Anyone" option?
     
    Hello @rzaneti
    I have a use case where I send an email with an Adaptive Card and use a Power Automate flow with a “When an HTTP request is received” trigger to listen for responses.

    It works as expected when the HTTP trigger is set to “Anyone”, but when I change the setting to “Any user in my tenant”, the action in the Adaptive Card returns a 401 Unauthorized error.

    Unfortunately, our company policy does not allow the “Anyone” option.

    Do you know if it’s possible to use the HTTP trigger with this more restrictive setting as a callback from an Adaptive Card in Outlook?

    Thank you

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…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard