Showing results for 
Search instead for 
Did you mean: 
Resolver I
Resolver I

onedrive copy filesname into an excel sheet

Hi guys

Is it possible o write a flow to go through an ondrive folder and extract all folders name into different excel rows? 

the seccond part I have found someways similar to that but I am wondering what could be the possible triger for this flow to start for the sirst part?


Community Support
Community Support

Hi @Hamid ,


Do you want to get all folders on OneDrive and extract all the folders’ name into an Excel file?


Please consider trigger the flow using a Button.


I have made a flow likes below for your reference.


Add the button trigger. List files in folder, here I select the root folder.


Then add a Condition with Is folder? Is equal to True.


If yes, Add a row into a table.



Best regards,



Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Thank you so much for your reply, yes want to go through all the files (with different formats) within one specific folder and copy the names and put them in excel rows in order. I am working on it. I have another question is taht possible for the flow to address it somwhere in my files except one drive file? Cause I already have the file in different drive?

Helpful resources

Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Users online (1,372)