Skip to main content

Notifications

Community site session details

Community site session details

Session Id : YyxKJ8z42z6PbnEsmlnYFI
Copilot Studio - General
Suggested answer

Agent trigger HTTPS Cloudflow "401 Unauthorized. Error code: HttpRequestFailure"

Like (2) ShareShare
ReportReport
Posted on 14 Apr 2025 10:49:58 by
Hello,
I have an agent which should trigger a cloudflow via http .
The Goal of the flow is to check whether the user is part of a M365 Teams group(now it only lists the groups, i'm building it step by step -.-).

 

The agent responds with the Message
"HTTP request failed with status code 401 Unauthorized. Error code: HttpRequestFailure"

why doesnt it have the User context?
Categories:
  • Suggested answer
    PabloRoldan Profile Picture
    206 on 14 Apr 2025 at 16:07:48
    Agent trigger HTTPS Cloudflow "401 Unauthorized. Error code: HttpRequestFailure"
    Hello, make sure your flow has the trigger as "Anyone", if not you will need to set up a service account and generate OAuth to authenticate against flows 

    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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,731 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,075 Most Valuable Professional

Leaderboard