cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Possible to copy a file between two differents Sharepoints ?

Hi,

I want to copy a file (. PDF) from one SharePoint to another. Is that even possible?


Like, for example:
www.mySharepointInternal.eu ---> www.anOtherSharePoint.com

 

Knowing that login credentials are not the same.

 

Thanks !

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Community Support
Community Support

Re: Possible to copy a file between two differents Sharepoints ?

Hi @Anonymous,

 

You need to create connections to both the two SharePoint under Connections with correct credentials.


About how to manage connections in Flow, please check this doc:
https://docs.microsoft.com/en-us/flow/add-manage-connections

 

When configuring the trigger or action, click the “…” then select the connection you want to use for the trigger/action under My connections.


Please take the following screenshot for a reference.

3.PNG

 

When using the trigger “When a file is created(properties only)”, it won’t return a dynamic content for file content. So please add another action “Get file content”, then you could use the dynamic content “File content” for the Create file action.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
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

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Possible to copy a file between two differents Sharepoints ?

Hi @Anonymous,

 

Per my testing, when using the action “SharePoint - Create file”, it would be possible to create file from one SharePoint to another. Please make sure you have created connections to both correctly.


While if you are using the action “SharePoint – Copy file”, it would be not possible to use it to create file from one SharePoint library to another.


Please try with the action “Create file” instead of “Copy file” to see if it will work for you.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Anonymous
Not applicable

Re: Possible to copy a file between two differents Sharepoints ?

Hi @v-yamao-msft,

Thanks for your help !

 

But I don't understand how to connect to my other sharepoint ? Where to write my login details ?

 

My goal is that when a user creates a .PDF file, the file is copied to another SharePoint. But besides, I can't copy the whole file. It only takes metadata !

butainfo.png

Highlighted
Community Support
Community Support

Re: Possible to copy a file between two differents Sharepoints ?

Hi @Anonymous,

 

You need to create connections to both the two SharePoint under Connections with correct credentials.


About how to manage connections in Flow, please check this doc:
https://docs.microsoft.com/en-us/flow/add-manage-connections

 

When configuring the trigger or action, click the “…” then select the connection you want to use for the trigger/action under My connections.


Please take the following screenshot for a reference.

3.PNG

 

When using the trigger “When a file is created(properties only)”, it won’t return a dynamic content for file content. So please add another action “Get file content”, then you could use the dynamic content “File content” for the Create file action.

 

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
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

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Kudoed Authors
Users online (7,391)