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 / 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
    Fredrik_A Profile Picture
    3,644 Super User 2026 Season 1 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.
    Screenshot 2025-06-24 114554.png
  • DexPoint Profile Picture
    191 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 
    Screenshot 2025-06-24 161157.png
    Screenshot 2025-06-24 160928.png
  • DexPoint Profile Picture
    191 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 707

#2
Haque Profile Picture

Haque 475

#3
Valantis Profile Picture

Valantis 456

Last 30 days Overall leaderboard