Skip to main content

Notifications

Power Automate - General Discussion
Answered

Finding missing SharePoint subfolders

(0) ShareShare
ReportReport
Posted on by 6

This one is puzzling me so hoping someone can help.

I have s SP document library with multiple top level folders. Each top level folder should have the same subfolders within it. However, a couple of subfolders with specific names are missing from some of the top-level folders.

So I'm hoping to have a flow that tells me which top-level folders don't contain those folders so I can subsequently add them.

An example of what should be there is shown below but sometimes the BIM subfolder is missing.

 

vitoman58_0-1706539491382.png

Thanks in advance for any help.

 

  • vitoman58 Profile Picture
    vitoman58 6 on at
    Re: Finding missing SharePoint subfolders

    Thanks Sudeep - that's great.

  • Verified answer
    SudeepGhatakNZ Profile Picture
    SudeepGhatakNZ 14,231 on at
    Re: Finding missing SharePoint subfolders

    @vitoman58 ,

    You can use the "Create file" action in Power Automate to dynamically generate subfolders by iterating through a list of folder names. Power Automate will intelligently bypass folders that already exist while creating any that are missing.

    Create New Folder only creates if the folder exists. If the folder already exists it won't create any error or delete the existing folder.

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard