Download files from a container in an Azure Blob Storage.

Parameters:

Parameters:
See dedicated page for more information.
OneDriveDownloadFiles pulls a single file from Microsoft 365 OneDrive/SharePoint (Graph API) and saves it to a local path.
It authenticates with application permissions (client-credentials flow) using:
This action is typically used after you’ve discovered the file’s driveItem id with OneDriveListFiles. It’s robust to flaky networks (automatic retries) and can emit detailed cURL traces for troubleshooting.
You only need to set this up once per tenant. If you’ve already done it for OneDriveUploadFiles, you’re set—the same app/permissions are reused.
If not, you can find the step-by-step Azure setup in the OneDriveUploadFiles documentation (app registration, required Graph permissions, and admin consent).
You will need:
fileId, size, etag, and the final localFilePath.Run OneDriveListFiles to get the target file’s id.
Drop OneDriveDownloadFiles into your flow.
Fill:
id from step 1records/report_Q3.xlsx(Optional) set Debug = verbose for first run.
Run. The file is saved to the path you chose.
Remote File ID to download
The OneDrive/SharePoint driveItem id (not the filename and not the path).
Tip: get this from OneDriveListFiles output.
Local filepath (to save locally)
Full or relative path where the file will be written (e.g., records/out/invoice.pdf).
Make sure the directory exists and is writable.
Azure Application (client) ID
GUID of your app registration.
Azure Unlock Key
Select the saved Unlock Key produced by the Azure Unlock action.
Do not paste the Azure Client Secret here—they are different things.
Debug information level
nothing (default) | basic | verbose
Higher levels print cURL traces and HTTP headers—useful during setup.
Extra parameters for cURL
Free-text advanced flags (e.g., --proxy http://proxy:8080 or --max-time 120).
Leave empty unless you know you need it.
Number of retries on connection error
Default 5. Increase on unstable links.
Error Management
continue with status ERROR (default): pipeline continues, this action’s status is ERROR.abort pipeline execution with error: stops the pipeline immediately on failure.Delete incompletely downloaded files
When ON, partial files are removed after a failed download (recommended).
Turn OFF only if you want to inspect partial files for debugging.
Using the Client Secret instead of the Unlock Key
The field expects the Azure Unlock Key created by the Azure Unlock action.
Fix: run Azure Unlock once and select that key here.
Supplying a filename/path instead of a file id
Remote File ID to download must be a driveItem ID.
Fix: use OneDriveListFiles to fetch the id for the item you want.
Missing Graph permissions / no admin consent
Symptoms: 401/403 or “authorization required” messages.
Fix: ensure the app has at least Files.Read.All (or Files.ReadWrite.All) and Grant admin consent. See OneDriveUploadFiles documentation for the exact list.
Wrong tenant or app
The app must exist in the same tenant as the files you are accessing.
Local path invalid or not writable
Ensure the destination directory exists and you have write permissions.
Corporate proxy in the way
Add --proxy http://host:port in idOptional.
