web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send HTTP Request to S...
Power Automate
Unanswered

Send HTTP Request to Sharepoint: Delete File Action Fails Intermittently (Status 401: Unauthorized)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a Flow that runs 2x/hr so it gets lots of action. One of the Actions is to delete old image files in a Sharepoint on-prem doc library. This action fails intermittently with no clear reason why.

How do I troubleshoot and fix this?

Example:

- DELETE_old_image action has 77 iterations in a loop

- Iteration 1-7 work just fine

ericonline_0-1631637379000.png

- Iteration 8-16 fail with "Unauthorized"

ericonline_2-1631637457401.png

- Iteration 17-77 work just fine

ericonline_1-1631637402805.png

 

Why is this happening and how do I fix it?

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 302 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 263

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard