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 :
Power Apps - Building Power Apps
Answered

Power Automate SharePoint Connector Issue

(0) ShareShare
ReportReport
Posted on by 23

So I'm having a problem in Power Automate with an action in the SharePoint connector. The Folder Path specified by the "When a file is created" trigger does not match up with the formatting expected by the Folder path input for other SharePoint actions.

 

The error was Folder not found, which was odd to me because I was looking right at the folder in SharePoint.

 

Here's the flow:

gfpierce_1-1628875112235.png

The Folder path dynamic content comes from the trigger. 

 

Now here is what that unaltered Folder path contains:

gfpierce_2-1628875179543.png

 

And here is what the Folder path input expects for a successful query:

gfpierce_3-1628875218925.png

The difference is that the correct formatting has a slash character at the beginning and no slash character at the end. The path as it comes from the trigger has no slash at the beginning and a slash character at the end.

 

I was able to clean the string and generate a successful request programmatically through the following methodology:

 

Initialize a String variable for the Folder path:

gfpierce_4-1628876374302.png

 

Initialize an Integer variable for the Length of the Folder path:

gfpierce_5-1628876403420.png

 

Generate a cleaned folder path with the substring function:

gfpierce_6-1628876524990.png

 

Using the cleaned string in the "Get folder metadata using path" action works and successfully finds the folder in question.

 

I hope this helps someone else who may encounter the same issue.

 

 

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at
    Re: Power Automate SharePoint Connector Issue

    *sad trombone noise

  • Verified answer
    gfpierce Profile Picture
    23 on at
    Re: Power Automate SharePoint Connector Issue

    Marking this as solved.

  • gfpierce Profile Picture
    23 on at
    Re: Power Automate SharePoint Connector Issue

    A distant "womp womp" echoes in the back of my mind

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 766 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 419 Super User 2025 Season 2

#3
developerAJ Profile Picture

developerAJ 235

Last 30 days Overall leaderboard