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 / Send HTTP request to S...
Power Automate
Suggested Answer

Send HTTP request to SharePoint failed due to Unauthorized error

(1) ShareShare
ReportReport
Posted on by 23
Hi there,
I created a flow using the 'Send an HTTP request to SharePoint' action to download a file from Forms and then create a file in SharePoint. A few days ago, this flow worked well, but today it failed due to an 'Unauthorized' error, and in the output, I saw that the user was required to log in.

I already checked the connection for this action, and it is still active. I cleared the cache, deleted the entire flow and the connections, and recreated everything, but it still didn't work.

When I copy the output source and paste it in the browser, it works fine, but within the flow, it doesn't.

Does anyone know what might be causing this?

Categories:
I have the same question (0)
  • Suggested answer
    Michael E. Gernaey Profile Picture
    53,433 Super User 2025 Season 2 on at
    Hi
     
    Just understand, you putting it in a browser is not a way to validate a login, since you are logged into your browser, so I would expect it to work.
     
    If you change the connection or the connection reference does it start working again?
     
    If you do a Save As to make a copy does the copy give the same error and in the copy change the connection and see if it fixes it.
  • Orlarez Profile Picture
    8 on at

    Hello, In my case the error that is generating the failure in my flow is { "status": 400, "message": "Unexpected response from the service\r\nclientRequestId: XXXX-4fb7-9362-8be53c", "error": { " message": "Unexpected response from service" }, "source": "sharepointonline-cus.azconn-cus-001.p.azurewebsites.net"} but when I run it in my browser it works fine. I appreciate any help in resolving it.

  • CU12091103-0 Profile Picture
    23 on at

    Hi FLMike,

    I also created a new connection directly in my flow and saved it as another flow, but it still didn't work. I've seen many posts about issues with sending HTTP requests to SharePoint from Forms these days, so I'm not sure if this action is no longer allowed

  • AF-27090823-0 Profile Picture
    2 on at
    I too have a few flows that use the Send HTTP request to gather responses to Forms submissions which have been working for a couple of years, then suddenly all fail with the same error - Unauthorised, "Required user login."
    I have tried recreating the connection to SharePoint, getting a colleague to edit the flow with his credentials, and even creating a new flow from scratch.
    This is causing me a great deal of manual work, I would be really grateful if anyone has a solution.
      
     

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