How to Save CSV Files to a Shared Location in Power Automate
Question details
The user needs a Power Automate workflow to save a generated CSV file to a shared location so that other users and downstream processes can access it.
- Product
- Microsoft Power Automate
- Device & OS
- not provided
- Scenario
- Retrieving SharePoint data, converting it to a CSV format, and storing the output file in a centralized, accessible location.
- Observed behavior
- Saving the output to a personal OneDrive account restricts access, preventing other users or automated processes from retrieving the file.
Verify that you have the appropriate edit permissions for the target SharePoint site or shared document library where the CSV file will be saved.
Use the SharePoint Create File Action
Replace the personal OneDrive action with a SharePoint action to save the CSV directly into a shared document library.
By default, saving a file to OneDrive in Power Automate restricts access to the account owner. Utilizing a SharePoint document library ensures the file inherits the shared permissions of that site, making it instantly available for team members and downstream automated processes.
Open your workflow in Power Automate, locate the 'Create file' action associated with OneDrive, click the three dots (More commands), and select 'Delete'.
Click 'New step', search for 'SharePoint', and select the 'Create file' action from the list of triggers and actions.
In the Site Address dropdown, select your team's SharePoint site. In the Folder Path field, browse and select the specific shared document library or folder.
Enter a File Name ending with '.csv'. In the File Content field, select the dynamic output from your previous 'Create CSV table' action.
Save the flow. Ensure that any other workflows, dashboards, or users relying on this CSV are updated to look at the new SharePoint file path.
Analyze and Edit CSV Files Seamlessly with WPS Office
While Power Automate handles the automated generation of your CSV files, editing, formatting, and analyzing that data requires a robust spreadsheet tool. WPS Office provides a free, lightweight alternative to Microsoft Office, offering full compatibility with Excel formats and advanced data processing capabilities without the subscription cost.
- 1. Download and Install: Get WPS Office for free from the official website and complete the quick installation.
- 2. Open Your Generated CSV: Launch WPS Spreadsheet, click 'Open', and navigate to your synced SharePoint folder to open the CSV file.
- 3. Analyze the Data: Use built-in data sorting, filtering, and chart tools to easily analyze your workflow's exported data.

Frequently Asked Questions
Why can't my colleagues access the CSV saved in my OneDrive?
OneDrive for Business is designed for personal cloud storage. Files saved there are private by default. Unless explicitly shared, other users and automated systems will receive an 'Access Denied' error when trying to open them.
How do I format SharePoint list data into a CSV in Power Automate?
You can use the 'Create CSV table' action. Pass the dynamic content array (such as the output from a 'Get items' SharePoint action) into the 'From' field. Power Automate will automatically convert the data structure into a CSV format.
Can I save Power Automate output directly to an on-premises network drive?
Yes, by utilizing the 'File System' connector's 'Create file' action. However, this requires you to install and configure an On-premises Data Gateway to bridge the cloud service with your local network.




