cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Download File Content from SharePoint using the anonymous URL

I am trying to download the content of a file, stored in SharePoint, using an anonymous link generated by the 'Copy Link' option. However, this doesn't seem to be working. I am not sure how it can be done using the anonymous link.

The link that I have is,

https://tenant.sharepoint.com/:x:/t/PK-TeamSite1/ETrXU4BPxUxFn0w-jdK5_osBriTO8W5ZoRP93oyspkBAyQ?e=rb...

 

My question is, can it be done using REST? Can we download the file using this link? Pasting this link directly in the browser works. However, not sure how to work with REST in Flows.

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Solution Sage
Solution Sage

Re: Download File Content from SharePoint using the anonymous URL

Hi @piyush ,

I have made a test on my side, I am afraid you can't use the 'Copy link' directly in flow.

In the SharePoint connector, it has a action named 'Get file content using path'. 

When I used the Dynamic content in the 'File Path', it works will.

However when I use the 'Copy link', the flow is failed. 

Capture6.PNGCapture7.PNG

Capture8.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

View solution in original post

1 REPLY 1
Highlighted
Solution Sage
Solution Sage

Re: Download File Content from SharePoint using the anonymous URL

Hi @piyush ,

I have made a test on my side, I am afraid you can't use the 'Copy link' directly in flow.

In the SharePoint connector, it has a action named 'Get file content using path'. 

When I used the Dynamic content in the 'File Path', it works will.

However when I use the 'Copy link', the flow is failed. 

Capture6.PNGCapture7.PNG

Capture8.PNG

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

 

View solution in original post

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (5,434)