Fix Power Automate Retrieving Corrupted OneDrive File Content
Question details
Users experience intermittent issues where a Power Automate flow retrieves corrupted content from OneDrive, though resubmitting the flow sometimes resolves it.

- Product
- Power Automate and OneDrive
- Device & OS
- not provided
- Scenario
- Using the 'Get file content using path' action in a Power Automate flow to retrieve files stored in OneDrive.
- Observed behavior
- The flow occasionally fetches corrupted file content instead of the actual data, but manually resubmitting the flow run often returns the correct file content.
Verify that the source file in your OneDrive directory is fully synced, intact, and can be opened manually without corruption errors.
Gather Diagnostics and Request Specialized Support in Microsoft Q&A
Because this is a technical Azure and Power Automate connector issue, collecting specific flow details and seeking help from Microsoft IT professionals is the most effective approach.
Intermittent corruption during the 'Get file content using path' action often points to backend API timeouts, locking mechanisms, or temporary sync delays. Microsoft engineers and specialized system administrators in the Q&A community are best equipped to analyze connector failures.
Write down your exact flow steps, the specific file type causing the issue (e.g., PDF, XLSX), the method used to define the file path, and the OneDrive connector version.
Navigate to your Power Automate dashboard, locate the specific flow, and open the Run History. Take screenshots or export the details of both the failed/corrupted run and the successful resubmitted run.
Visit the official Microsoft Q&A forum. Post your gathered details under the 'Azure' and 'Power Automate' tags, ensuring you include any explicit error codes or raw output details from the failed action.

Configure Retry Policies for the OneDrive Action
Since resubmitting the flow manually retrieves the correct file, configuring an automatic retry policy can mitigate temporary API or sync glitches.
Looking for a Reliable Alternative to Microsoft Office?
While you troubleshoot complex Power Automate and OneDrive sync issues, ensure your actual document creation and editing remain completely uninterrupted. WPS Office provides a seamless, offline-capable environment for your important files.
- 1. Download the installer: Visit the official WPS Office website and download the free installation package for your operating system.
- 2. Install WPS Office: Run the downloaded installer and follow the simple on-screen instructions to set up the software.
- 3. Open your documents securely: Launch WPS Office to instantly open, edit, and save your existing Office documents locally without relying on external cloud flows.

Frequently Asked Questions
Why does 'Get file content using path' return corrupted data intermittently?
This usually happens due to API rate limits, temporary OneDrive syncing delays, or file locking issues where the flow attempts to read the file before it has been completely written or uploaded to the OneDrive server.
Where can I find the connector version for my Power Automate OneDrive action?
You can find the connector version by reviewing the raw inputs and outputs in the flow's Run History. Click on 'Show raw inputs' or 'Show raw outputs' on the specific action, and look for the API or connector metadata.
Can a corrupted flow run be recovered without resubmitting the entire flow?
If the flow failed or returned bad data at the file retrieval step, you generally need to resubmit the specific flow run from the Run History page to prompt Power Automate to re-execute the actions and attempt the file retrieval again.




