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 / Trouble with Move or C...
Power Automate
Unanswered

Trouble with Move or Copy SharePoint File Action with Dynamic Site and Static Folder

(0) ShareShare
ReportReport
Posted on by 9

I am having trouble with the Move or Copy File Action when the destination is a Dynamic Site and using the default Shared Documents library. The flow takes metadata from a SharePoint list and creates a word document from a template using quick parts. Originally I was doing this with an HTTP request but my users informed me they sometimes need to put quotes in the description field which messes up the JSON formatting in the HTTP request. To overcome this I now create the file in a Static Site and library so I can use the Update File Properties action and want to copy it out to a dynamic site. Every time I try to Copy or Move the file with the built in Flow Actions I get the following error about the destination folder:

"status": 400,
"message": "Failed to verify the existence of destination location at 'https://#####.sharepoint.com/sites/Projects/Test 4/Shared Documents/' due to error
'The system cannot find the file specified. (Exception from HRESULT: 0x80070002)'.\r\nclientRequestId:
0902a3fb-eced-4d00-9a32-b1e876e65ade\r\nserviceRequestId: 0902a3fb-eced-4d00-9a32-b1e876e65ade"

 

I have attached a screen shot of the Action Configuration and the runtime error. I am hand typing "/Shared Documents/" into the Destination Folder field since it is not available as dynamic content. Any ideas how I can get this to work would be greatly appreciated.

Snag_24ea3.pngSnag_16284cb4.png

Categories:
I have the same question (0)
  • Verified answer
    DeepakS Profile Picture
    2,301 Most Valuable Professional on at

    Hi @stevewest 

     

    You are very close , you should try  "/Shared Documents" instead "/Shared Documents/"

     

    Thanks,

    ——————————————————
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

     

  • ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at

    Hi @stevewest 

    You need to erase the last /  like this "/Shared Documents" instead "/Shared Documents/"

  • Anya Profile Picture
    6 on at

    I had the same problem and removing the last '/' solved it

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