How to Rename Multiple Microsoft Forms Uploads with Power Automate
Question details
The user wants to automatically rename multiple files uploaded through Microsoft Forms using a serial number and a unique suffix via Power Automate.

- Product
- Power Automate
- Device & OS
- not provided
- Scenario
- Standardizing file names for photos, audio files, and videos uploaded via a form submission to improve organization.
- Observed behavior
- The workflow needs to dynamically generate new file names with suffixes like (1), (2), or (3) while successfully retaining the original file extensions.
Ensure you have an active Microsoft 365 license with access to both Microsoft Forms and Power Automate, and verify that your form is configured to accept file uploads.
Build a File Renaming Workflow in Power Automate
Use built-in Power Automate expressions and loops to retrieve form responses, iterate through uploaded attachments, and apply standardized names with suffixes.
Because Microsoft Forms handles multiple file uploads as a JSON array, you need to parse this array in Power Automate to extract the file metadata before generating new files in OneDrive or SharePoint.
In Power Automate, create an automated cloud flow. Use the 'When a new response is submitted' trigger and add the 'Get response details' action to retrieve the form submission data.
Add a 'Parse JSON' action. Use the dynamic content of your file upload question as the input. This extracts the names, links, and properties of the uploaded files so Power Automate can read them.
Add an 'Apply to each' control and select the array from the Parse JSON step. Inside the loop, add a 'Get file content' action using the OneDrive or SharePoint path of the uploaded file.
Add a 'Create file' action. For the File Name field, use a Power Automate expression to combine the serial number from your form, an incrementing variable or timestamp for the suffix (e.g., (1), (2)), and the original file extension extracted using the split() expression.

Seek Specific Guidance in the Power Automate Community
Since file-handling workflows require specific syntax and robust error handling, the dedicated Microsoft community is the best place to find pre-built expressions.
Discover WPS Office for Your Document Management Needs
While Power Automate handles your cloud workflows and file renaming, you still need a fast and reliable suite to open, view, and edit those downloaded documents. WPS Office provides a free, lightweight, and highly compatible alternative for handling Word, Excel, and PowerPoint files.
- 1. Download the Installer: Visit the official WPS Office website and download the free installer for your operating system.
- 2. Install the Software: Run the setup file and follow the quick on-screen instructions to install the office suite.
- 3. Open Your Files: Double-click any downloaded MS Forms documents to open them instantly in WPS Office.

Frequently Asked Questions
Why do Microsoft Forms uploaded files have random names or user names appended?
By default, Microsoft Forms appends the name of the responder to the uploaded file name. This is done to ensure the file is unique in the storage directory and to help track who submitted which document.
Can I keep the original file extension when renaming files in Power Automate?
Yes. You can use Power Automate expressions such as last(split(item()?['name'], '.')) to dynamically identify and extract the original file extension (like .jpg or .mp4) so it can be appended to your new file name.
Where are Microsoft Forms file uploads actually stored?
If the form was created as a personal form, uploaded files are stored in the Apps > Microsoft Forms folder within the creator's OneDrive for Business. If it is a group form, they are stored in the default SharePoint Document Library associated with that group.




