Table of Contents

Delete file from OneDrive

Deletes a file from a OneDrive folder.

delete file

Example img
This flow retrieves all files from a OneDrive folder, processes only Excel files row by row, and deletes each processed file once its content has been fully handled.

Properties

Name Type Description
Connection Required The connection to the OneDrive account. Setting up a connection requires a Microsoft Work or School account.
File Required The path to the file in OneDrive. When using a OneDriveItem, use the Path property like shown in the example image below.
Note

When you want to delete a file in OneDrive, you need to provide the path to the file, not the name. When using a OneDriveItem as input, select the Path property like shown below.
OneDriveItems are returned from the For each file in OneDrive and Get files in OneDrive actions.

select file