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 / Create Folder in Share...
Power Automate
Unanswered

Create Folder in Sharepoint Library with custom values

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

i have a flow that first creates a Team site then i want to add folders to that team site with the connector "Create folder" in Sharepoint.

But when i try to add custom values into "Create new folder" it dosent work. If i dont use custom value for the "List or Library" and choose Documents, via drop down menu, it works fine. 

 

https://imgur.com/0ox6lVy 

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,026 Most Valuable Professional on at

    To use dynamic content for the library name, scroll all the way to the bottom of the dropdown and select "Enter Custom Value".  Taht will let you enter the dynamic content to use as the library name. But remember this action won't create a new library, only new folders in a library.  So the library has to already exist.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi 

     

    Thanks for the reply, I am using the "Enter custom value" and then write "Documents"

     

    Pr, code View

     

     

    ('https://xxxx.sharepoint.com/sites/TestAfMappeAuto9'))}/tables/@{encodeURIComponent(encodeURIComponent('Documents'))}/createnewfolder",

     

     
    This is the code View when i use the Drop Down menu,and choose "Documents" and that works
     

     

    ('https://xxxx.sharepoint.com/sites/TestAfMappeAuto9'))}/tables/@{encodeURIComponent(encodeURIComponent('90fc105c-72bd-452f-b126-248e52cd0e35'))}/createnewfolder",

     

  • Pstork1 Profile Picture
    69,026 Most Valuable Professional on at

    Not sure what to tell you.  I just tried it and it works for me.  Any chance the dynamic content you are using for the folder name has invalid characters?  this was my test and it ran fine.

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

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 227

#3
Expiscornovus Profile Picture

Expiscornovus 225 Most Valuable Professional

Last 30 days Overall leaderboard