Hi,
I'm trying to build a on-demand/instant flow that when triggered, it will create a new Sharepoint folder for each Dataverse row, with the folder name the same as the row's name. The Dataverse table I'm referencing has 107 records so the flow should create 107 folders.
Here's my basic setup.
1. List Rows - Dataverse - Table referenced with 107 rows
2. Create SharePoint Folder parent folder in proper location
3. Create SharePoint Subfolders based on the "Name" column, using "Apply to each" action
Flow:
Issue:
Message:
The execution of template action 'Apply_to_each_-_List_Rows_Name' failed: the result of the evaluation of 'foreach' expression '@items('Apply_to_each_-_List_Rows')?['pl_name']' is of type 'String'. The result must be a valid array.
Any help would be appreciated!
Thanks,
Adil
Michael E. Gernaey
497
Super User 2025 Season 2
David_MA
436
Super User 2025 Season 2
Riyaz_riz11
244
Super User 2025 Season 2