SharePoint Document Issues

How to Upload a New SharePoint File Version from Power Apps

Elise WilliamsElise Williams Oct 28, 2026 869 views

Question details

The user needs to know how uploading a file with the same name via Power Apps affects existing SharePoint files, and how to properly handle versioning or preserve separate duplicate copies.

How to Upload a New SharePoint File Version from Power Apps
Product
Power Apps and SharePoint
Device & OS
not provided
Scenario
Uploading a document via Power Apps to a SharePoint library where a file with the exact same name already exists.
Observed behavior
Uploading the file updates the existing SharePoint document and generates a new version if versioning is active, rather than automatically saving a separate copy of the file.
Before you start

Ensure that versioning is enabled in your SharePoint document library settings so that your file updates are recorded correctly without losing previous data.

Solution 1Recommended

Update the Existing File to Create a New Version

Use this default method when you want to maintain a single file history and update the existing SharePoint document with new changes.

Because the Power Apps upload action synchronizes directly with SharePoint Online, uploading a file with an identical name automatically triggers SharePoint's versioning mechanism. This keeps your library clean and maintains a clear history of document changes without cluttering folders with duplicates.

1
Enable SharePoint Versioning

Navigate to your SharePoint document library, click the Settings gear icon, select 'Library settings', and ensure 'Create major versions' is enabled under 'Versioning settings'.

2
Upload via Power Apps

In your Power Apps interface, trigger the upload action using a file that has the exact same name as the existing file in your SharePoint library.

3
Verify the New Version

Go to the SharePoint library, click the ellipsis (...) next to the uploaded file, and select 'Version history' to confirm the new version was successfully created.

Update the Existing File to Create a New Version
Versioning Limits: SharePoint limits the number of major versions stored based on your library settings. Older versions may be deleted automatically if the limit is exceeded.
Free Microsoft Office alternative

View and Edit Your SharePoint Documents with WPS Office

Whether you are downloading old versions from SharePoint or reviewing newly uploaded files from Power Apps, you need a reliable office suite. WPS Office is a highly compatible, lightweight, and free alternative to Microsoft Office that lets you view, edit, and save your documents with ease.

  1. 1. Download the Installer: Visit the official WPS Office website and download the free installation package for your operating system.
  2. 2. Install WPS Office: Run the downloaded installer and follow the on-screen prompts to complete the setup process in minutes.
  3. 3. Open Your Documents: Launch WPS Office and open the files downloaded from your SharePoint library to start editing immediately.
Fully compatible with Microsoft Office formats including .docx, .xlsx, and .pptx.Lightweight installation with incredibly fast startup times.Familiar, tabbed user interface for a seamless transition.Free to use, significantly reducing your overall software costs.
microsoft office alternative - wps office

Frequently Asked Questions

Why did Power Apps overwrite my existing SharePoint file?

Power Apps synchronizes directly with SharePoint Online. If you upload a file with the exact same name as an existing file, SharePoint treats it as an update. It overwrites the current file and creates a new version if versioning is enabled.

How do I check if versioning is enabled in my SharePoint library?

Navigate to your SharePoint document library, click the Settings gear icon, and select 'Library settings'. Click on 'Versioning settings' to view or change whether major and minor versions are being tracked for your files.

Can I automatically rename files in Power Apps to avoid overwriting?

Yes, you can configure your Power Apps formula or use a connected Power Automate flow to automatically append dynamic data, such as the current date and time, to the file name before it is uploaded to SharePoint.