web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 6XmX/LtI/NeC49sXg4dBJQ
Power Automate - Building Flows
Unanswered

Create new Sharepoint folders for each Dataverse row, with folder name = row's name

Like (0) ShareShare
ReportReport
Posted on 11 Feb 2022 00:10:08 by

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:

Adil365_2-1644537444303.png

 

Adil365_1-1644537377050.png

 

 

Issue:

 

Adil365_0-1644536972125.png

 

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

 

  • v-bofeng-msft Profile Picture
    on 15 Feb 2022 at 09:07:56
    Re: Create new Sharepoint folders for each Dataverse row, with folder name = row's name

    Hi @Adil365 :

    Please try:

    vbofengmsft_0-1644916063994.png

    Best Regards,

    Bof

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete