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 Automate / Onedrive for Business ...
Power Automate
Answered

Onedrive for Business Path to file is not complete

(0) ShareShare
ReportReport
Posted on by 31

Hi

 

I am trying to copy a file within the same onedrive for business.

However, the path of the file is not complete, therefore I cannot copy or create a file.

No matter how I use the Path from the file, it always gets cut then I get the following message.

{
"status": 400,
"message": "Path to the destination should include file name.",
"source": "api.connectorp.svc.ms"
}
 
What should I do to get the full path?
 
Regards
Luke
Categories:
I have the same question (0)
  • yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Lucas_ 

     

    Can you share a screenshot of the flow with the actions where you are facing the issue? Can you check and confirm if you are referring to the correct dynamic content from the appropriate action for the path to the other action? You might want to check by adding the path and then '\' and then add the file name to check if that works. 

     

    If you can share screenshots, we might better understand the issue and help you with this. 

     

    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!

  • Lucas_ Profile Picture
    31 on at

    Hi

     

    Here is a couple of images.

    The path from Find files in folder is not complete.

    Also copy folder is not available as that would have been to easy.

     

    Regards

    List files.JPGpath.JPGpath2.jpgAsk for path1.JPGlong path1.jpg

  • Verified answer
    Lucas_ Profile Picture
    31 on at

    Hi

     

    Found the solution.

    Using Get file metadata using path.

    This actually gets the real path and file names.

    It is crazy that this the the only one that gives you the correct information.

     

    Regards

  • novice1508 Profile Picture
    12 on at

    THIS IS HOW YOU MOVE A FOLDER WITH IT'S CONTENTS

    Folderpath/name(without extension).dir

    even thought the folder name never comes with an extension, if you add the ".dir" at the end the flow will know that you are trying to create a folder.  

    Hopefully that helps

     

    novice1508_0-1634914712669.png

     

  • novice1508 Profile Picture
    12 on at

    Even better way to move a folder.

    first get the metadata of the folder

    then use the same info to move the folder

     

    novice1508_0-1635430205101.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 Automate

#1
David_MA Profile Picture

David_MA 308 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 171 Super User 2026 Season 2

#3
Haque Profile Picture

Haque 137 Super User 2026 Season 2

Last 30 days Overall leaderboard