cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
New Member

Transfering files from a Personal One Drive to a One Drive for business account

I was trying to use Flow to transfer the files from my personal account to the One Drive account provided by my college. I fail at doing so. Can anyone help me to build the flow properly? Here is a picture of what I was doing

 

 

Update: Now I´m using a template but it doesn't look like it's doing anything (I don't see the files in the Business acc). I found a template that allow you to transfer from a Personal account to a Business account of One Drive. Here is the link to the template: https://us.flow.microsoft.com/es-es/galleries/public/templates/75d4a37dec744681abd57d56a8398f09/copi...

You can search for it by this name: Copy files from One Drive for Business when they're added to One Drive.

 

Please, let me understand what I'm doing wrong. As I said, I want to copy the files from one account to another different one, wiithout downloading and uploading againt because I have a bad Internet conecction

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support
Community Support

Hi @joser1813,

 

Do you want to transfer existing files from OneDrive for Personal to OneDrive for business?

Maybe you can try this workaround:

    1.Set up manual triggers, using the OneDrive--List files in folder action to list all files from the root directory.

    2.Then use Get file content to get the file content and then create the file in OneDrive for Business.

    3.Because the previous List files in folder action will also list the subfolder, so add a Condition, if the listed items are folders, do not create a file.

However, such a method can only transfer all the files inside to another account, but will not retain the original directory structure.

Image reference:

26.PNG

As for the template you used but did not create a file, I did a test on my side and did not make any changes to the template. It can create files normally.

Could you provide the configuration for using this template?

Here are the results of my test:

25.PNG

Best Regards,

Barry

 

 

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

2 REPLIES 2
Community Support
Community Support

Hi @joser1813,

 

Do you want to transfer existing files from OneDrive for Personal to OneDrive for business?

Maybe you can try this workaround:

    1.Set up manual triggers, using the OneDrive--List files in folder action to list all files from the root directory.

    2.Then use Get file content to get the file content and then create the file in OneDrive for Business.

    3.Because the previous List files in folder action will also list the subfolder, so add a Condition, if the listed items are folders, do not create a file.

However, such a method can only transfer all the files inside to another account, but will not retain the original directory structure.

Image reference:

26.PNG

As for the template you used but did not create a file, I did a test on my side and did not make any changes to the template. It can create files normally.

Could you provide the configuration for using this template?

Here are the results of my test:

25.PNG

Best Regards,

Barry

 

 

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

Administrator
Administrator

Hello, @joser1813!

Thank you for posting on the Flow Community Forum! Have you had an opportunity to apply @v-bacao-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

Thank you for being an active member of the Flow Community!

-Gabriel
Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager
Power Platform Communities

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (5,642)