Get file content Action in OneDrive For Business Connector.(Power Automate Cloud flows)

Japanese version.

This action retrieves the contents of a file stored in OneDrive.

How to use

Select the "OneDrive For Business" connector when adding steps to the flow.

Select "Get file content" from the "Actions" menu.

Set parameters.

Parameters.

File

Specify the ID of the file stored in OneDrive.

Select a file with the directory icon on the right.

When selected, it looks like a file path, but it is only a display and the substance is an ID.

If you delete the specified file and then create a file with the same name, it will be treated as a different file.
In such a case, an error will occur that the file does not exist, so it must be re-specified in the flow.

Dynamic content.

Set the ID of the following triggers/actions dynamic content.

Those that retrieve file contents at the same time are excluded.

Triggers.

Actions.

Dynamic contents

File content

File Content. Used for file creation and email attachments.

Differences from "Get file content using path".

How to specify file.

"Get file content" specifies file by ID.

"Get file content using path" specifies file by File Path.

Usage Situation.

"Get file content" is suitable for specifying files with ID obtained by other actions.

"Get file content using path" is suitable for fixing file paths.

---

Links

OneDrive For Business Connector(Power Automate Cloud flows)