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 file from Sharepo...
Power Automate
Suggested Answer

Copy file from Sharepoint to Onedrive

(0) ShareShare
ReportReport
Posted on by
Hi,
 
I am trying to copy two .XLSX files and one .DOCX file from a SharePoint to OneDrive, however, when the process runs, three files without extensions are created.
 
 
 
 
 
 
Could someone help me?
 
Thanks.
I have the same question (0)
  • Suggested answer
    sannavajjala87 Profile Picture
    515 Super User 2026 Season 1 on at
    Hi,
    This usually happens when the file content is copied, but the file name doesn't include the original extension.
    Here are a few things to check:
    In the Create file action (OneDrive), make sure the File Name includes the extension. Instead of entering the name manually, use the File name with extension dynamic content from the SharePoint trigger or Get file metadata action.
    If you're using Get file content, remember that it only returns the file content, not the file name or extension. You'll need to pass the file name separately.
    If you're copying multiple files, verify that each iteration is using the correct file name and content from the current item.
    If the source files are .xlsx and .docx, the created files should have names like:
    Report.xlsx
    Invoice.xlsx
    Letter.docx
    If the extensions are missing, Windows will treat them as unknown file types even though the content is correct.
    If you're still having issues, could you share a screenshot of the actions you're using (especially Get file content and Create file) and how you've populated the File Name field? That will help identify the exact cause.

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard