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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Can't connect with Sha...
Power Automate
Unanswered

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
    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,270 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 538 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard