cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
piyush
Level: Powered On

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
v-zhos-msft
Level 10

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
v-zhos-msft
Level 10

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
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 328 members 1,715 guests
Please welcome our newest community members: