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 Apps / Create folder in SP do...
Power Apps
Answered

Create folder in SP doc library and attach files in the folder from Powerapps

(0) ShareShare
ReportReport
Posted on by 65

How my users can create folder and attach a file/files from PowerApps . I was able to upload a single doc/docs to SP document library from PowerApps canvas app but I'm stuck not able to create a folder and push files to the folders . The requirement is literally to mimic the SP doc Library feature in canvas Apps. Display docs/folders with metadata and create/upload doc/folders with metadata. Was able to do all except the folder creation/upload and store the docs within the folder. Power automate/API call ?

 

If I'm a user , I name my folder 'Finance' then attach files A,B,C in 'finance folder from canvasapp.

Existing Library/Finance/File A ,B, C....    

 

Below link given me some idea but it's not clear how Users could create the folder name from the canvas app and push files to the folder . Users will be interacting with the canvas App not the backend SP doc library. thoughts please . Thank you

 

related Link  

Categories:
  • PowerExplorer Profile Picture
    65 on at

    @WarrenBelz Could you help with the above requirement? You helped me before so here I'm again pestering you. Thanks 

  • Verified answer
    WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @PowerExplorer  ,

    Yes - Power Automate - example below (one of my test Flows), but there is a process in Power Apps to get the file content as per this video

     NewFolderFLow.jpg

     

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

  • PowerSurfer Profile Picture
    13 on at

    @WarrenBelz Speedy response and clear answer as usual . Thank you vey much, I appreciate your time. You almost finished my project assignment. If it wasn't for this community what would've happened to us newbies  . 

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @PowerSurfer ,

    This can be closed now ?

  • PowerSurfer Profile Picture
    13 on at

    Yes, thanks.

  • ratas101 Profile Picture
    70 on at

    ramtas101_0-1681494017427.png

    ramtas101_1-1681494211746.png

     

    Hi, I am using the same concept as you shared but when I run the flow, its failing with this error (second image). Can you please help me resolve this issue?

  • WarrenBelz Profile Picture
    156,526 Most Valuable Professional on at

    @ramtas101 ,

    You need to look at what you are sending as a new folder - also your file content has not been converted with base64ToBinary.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard