Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Can't connect with SharePoint Library

(0) ShareShare
ReportReport
Posted on by 8

Hi, I've got a problem with "When an item is created" trigger. 

I'm trying to connect it with a library instead of list:

Bartek_Zur_0-1648026571962.png

There are folders in chosen folder that I want to control with the flow. But when I try to create a condition that will check if new item is a folder, no dynamic content appears:

Bartek_Zur_0-1648026984064.png

 

 

How can I repair it?

 

  • Verified answer
    ScottShearer Profile Picture
    25,208 Most Valuable Professional on at
    Re: Can't connect with SharePoint Library

    @Bartek_Zur 

    Why are you using the When a new item is created trigger rather than When a file is created?  I believe that is the root cause of your issue.

     

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at
    Re: Can't connect with SharePoint Library

    Hi @Bartek_Zur,

    The trigger "When an item is created" fires only when a new SharePoint list item is added.

    It mean that when a new item is added to the list is now active, and runs whenever new items are added to the list in the specified SharePoint site.

     

    vqiaqimsft_0-1648187033973.png

    More details, please check the following doc:

    Microsoft SharePoint Connector for Power Automate | Microsoft Docs

     

    Instead, I think you should use the "When a file is created (properties only)" as a trigger, which will also triggers when a folder is created.

    Or you could try "when a file is created of modified in a folder", then use the Get file metadata and reference to the IsFolder property.

  • Bartek_Zur Profile Picture
    8 on at
    Re: Can't connect with SharePoint Library

    It looks like Power Automate can't find a library, but I don't understand why:

    Bartek_Zur_0-1648030624607.png

     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow