cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
piyush
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
v-zhos-msft
Solution Sage
Solution Sage

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
Solution Sage
Solution Sage

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
MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (74,507)