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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Can't connect with Sha...
Power Automate
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?

 

Categories:
I have the same question (0)
  • Bartek_Zur Profile Picture
    8 on at

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

    Bartek_Zur_0-1648030624607.png

     

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    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.

  • Verified answer
    ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    @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.

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 664

#2
Haque Profile Picture

Haque 460

#3
Valantis Profile Picture

Valantis 357

Last 30 days Overall leaderboard