Find files in folder by path Action in OneDrive For Business Connector.(Power Automate Cloud flows)
This action searches for folders and files in the folder specified by path and obtains a list of matches.
How to use
Select the "OneDrive For Business" connector when adding steps to the flow.

Select "Find files in folder by path" from the "Actions" menu.

Set parameters.

Parameters.
Search Query
Specify the string to be searched.

Folder Path
Specify the folder path stored in OneDrive.

Select a file with the directory icon on the right.

Unlike "Find files in folder", the entity is also a file path.
It works even if the specified folder is deleted and then a folder with the same name is created.
File Search Mode
Select a search method.
- Pattern…Pattern search using regular expressions
- OneDriveSearch…Normal search of OneDrive

Pattern" performs pattern searches using regular expressions.
The following regular expressions are typical examples.
Character | Description |
---|---|
. | Any 1 character. |
+ | Repeat the immediately preceding character one or more times. |
* | Repeat the immediately preceding character zero or more times. |
For example, specifying ". *xlsx" will make all Excel files the search results.
Number of files to return
Specify the maximum number of search results (up to 100).

Dynamic contents
Get files and folders information as an array.
Its use requires "Apply to each".
Specify a dynamic content "Body" in "Select an output from previous steps".
This will cause the action specified in "Apply to each" to be repeated for all files and directories stored.

Typical items that can be retrieved for files and folders subject to repetition are as follows.
Id
File identifier.
Name
File name.
Path
Full path of the file.
Last modified time
Last update.
Last modified by
Last updated by user name.
Size
Bytes in file.
Media type
MINE type of file.
Is folder?
True if it is a folder; False if it is not a folder.
For those who want to learn Power Automate Cloud flow effectively
The information on this site is now available in an easy-to-read e-book format.
Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.
By the end of this book, you will be equipped with the knowledge you need to use Power Automate Cloud flow to streamline your workflow.
Discussion
New Comments
No comments yet. Be the first one!