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 / Create sharing link fo...
Power Automate
Unanswered

Create sharing link for a file or folder Keeps Failing

(0) ShareShare
ReportReport
Posted on by 9
Hello,
I am trying to create a flow that generates an approval flow based which includes the link to the file that needs to be approved.
However the flow keeps failing when I test it.

When I look at the side bar for "Create sharing link for a file or folder" I see the error is 404 not found.

The Item ID for "Create sharing link for a file or folder" is from the "Get files (properties only)"

Any idea what could be happening there?
Automation001-3.png
Automation005.PNG
Automation004.PNG
Categories:
  • bm_data Profile Picture
    30 on at
    In your apply to each action, what are you setting as your source? I have a similar flow that does not include an 'apply to each' action that runs as intended. I do not see any other differences that would cause that issue for you. I believe you should be using the value of your get however I see you have a get files and a get items. 
  • ElieKhoury Profile Picture
    9 on at
    Hello @bm_data
    Create sharing link for a file or folder Keeps Failing
    In your apply to each action, what are you setting as your source? I have a similar flow that does not include an 'apply to each' action that runs as intended. I do not see any other differences that would cause that issue for you. I believe you should be using the value of your get however I see you have a get files and a get items. 
    The first For Each is looking at the Body/value from "Get files (property only)" where the files that need to be approved are in a SharePoint site folder.
    The second For Each is looking at the body/value from "Get item List" where there is a list of approvers based on the program code.

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 273 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 172 Super User 2026 Season 2

Last 30 days Overall leaderboard