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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Onedrive for Business ...
Power Automate
Unanswered

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard