web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / flow to move a onedriv...
Power Apps
Unanswered

flow to move a onedrive folder to a sharepoimt folder

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all,

 

How do you make a flow where you can move a folder from onedrive to a sharepoint folder based on the name of the folder.

What I found on internet does not work.

Categories:
I have the same question (0)
  • rsaikrishna Profile Picture
    3,703 on at

    @Anonymous 

     

    There is no direct action in Power Automate to move the folder from One Drive to SharePoint but there are separate actions to read content from OneDrive folder and create a new folder in SharePoint document library. After you copy the content, you can remove folder from OneDrive.

     

    https://powerusers.microsoft.com/t5/Power-Automate-Community-Blog/MS-Flow-Create-new-folder-action/ba-p/355632

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thanks for helping. 

     

    But it doesn't do the trick for me. Let me explain.

     

    I made in Forms a questionaire which includes the uploads of files.

    When the user sends his answer there is a folder created in onedrive with the uploaded files.

     

    Now I want to move this folder and the files within to a existing folder in sharepoint as soon as it's created in onedrive.

     

    So I have done this flow:

    1. when a file is created: input foldername

    2. condition: foldername contains '07'

    3. when yes: make folder

     

    But the condition is not recognized and the expressions found on internet to do that give a error.

  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Anonymous 

     

    Can you share a screenshot of the configuration in flow? What is the error that you are getting? If you can share more details, we might be able to help you better.

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @yashag2255 

     

    I hope the screenshots help.

     

    Also when I put this expression in a condition I get the error: expression is wrong.

    @startsWith(triggerOutputs()['headers']['x-ms-file-name-encoded'],'07')
     
    Thanks for helping.
     
    Regards
    flow2.PNG
    flow1.PNG

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard