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 / Copy OneDrive Files to...
Power Automate
Suggested Answer

Copy OneDrive Files to a SharPoint folder

(0) ShareShare
ReportReport
Posted on by 4
Hello,
 
i am currently trying to copy Files, which our cusotmers put into a OneDrive Folder, into a internal Sharepoint Folder but the automations always seems to fail.
 
The automation looks like this. 
When a file is created (OneDrive) -> Copy file (Sharepoint) 
 
Power Automate will recognize files when i put them into the OneDrive folder but wont copy them over to Sharepoint. Here are the exact inputs i put for the Copy to Sharepoint.
 
Current Side Adress -> The OneDrive Folder where customers can put there Files 
File to copy -> File Identifier
Destination Site Adress -> The Site i want the Files to end up in via the drop down menu
Destination Folder -> The folder i want the files in 
If another filde is already there? -> Copy with new name 
 
The problem always seems to be "The response is not in a JSON format."
 
Any suggestions? Thank you in advance!
 
Best regards
Luca 
 
Categories:
I have the same question (0)
  • Suggested answer
    StretchFredrik Profile Picture
    3,395 Super User 2025 Season 2 on at
    Hello, this might be caused by your SharePoint Site URL, for example:
     
     :f:/r/ or something similar.
     
    Could you please share your SharePoint site adress (But blurr the part before .SharePoint.com for your privacy.)
     
    If my response solved your issue, please mark it as ✅ Accepted Answer and give it a like.
  • LE-23061145-0 Profile Picture
    4 on at
    Hey, heres the Screenshot for my current Sharepoint Site URL.
    Thanks for your help.
  • DexPoint Profile Picture
    185 on at
    here is a flow and tested, it brought over an Excel file without issues.
     
    start with the trigger when a file is created in OneDrive.
     
    second is Get File Content, i used File Identifier.
     
    Then last is create file. i used the the file name from the Trigger and the File Content from the Get file content step.
     
    everything worked for the test i ran. took about 5 mins to build.
  • LE-23061145-0 Profile Picture
    4 on at
    Hey Guys,
     
    it still shows up like this 
  • DexPoint Profile Picture
    185 on at
    it looks like your third step is Data Copy (Datai Kopieren) vs File Create.

    Can you change your third step to File Create (File machen) oder bauen not sure exact term would be.

    Then give it a go. here is how it looks
     
    File Name
    I use the same file name as the trigger name.

    File Content - i use from previous step get file content.
    body(Get_file_content)

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard