cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
petergriac
Helper II
Helper II

Can't see new folder created with HTTP request

Hi,

I'm trying to create a folder in Sharepoint list with Flow using HTTP Request. The request looks like this:

 

Folder Creation.PNG

 

The flow runs successfuly, but I'm not able to see the folder in my list. However, I'm able to open the folder by typying URL to browser. 

Does anyone know how can I create folder and be able to see it in my Sharepoint List?

 

Thanks a lot,

Peter

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

Hi @petergriac,

 

First, if you want Folder to appear on the SharePoint list item, you need to go to List Settings, then click Advanced settings and set "Make "New Folder" command available?" to Yes.

Also about configuring Send an Http request to SharePoint action, I did a test on my side, maybe you could refer to this method:

Method: POST

Uri: 

 

_api/web/GetFolderByServerRelativePath(decodedurl='lists/ListName')/AddSubFolderUsingPath(decodedurl='FolderName')

 

Headers :

 

content-type: "application/json;odata=verbose"

 

Image reference:

18.PNG

Folder created by Flow:

19.PNG

Please take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-bacao-msft
Community Support
Community Support

Hi @petergriac,

 

First, if you want Folder to appear on the SharePoint list item, you need to go to List Settings, then click Advanced settings and set "Make "New Folder" command available?" to Yes.

Also about configuring Send an Http request to SharePoint action, I did a test on my side, maybe you could refer to this method:

Method: POST

Uri: 

 

_api/web/GetFolderByServerRelativePath(decodedurl='lists/ListName')/AddSubFolderUsingPath(decodedurl='FolderName')

 

Headers :

 

content-type: "application/json;odata=verbose"

 

Image reference:

18.PNG

Folder created by Flow:

19.PNG

Please take a try.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Barry,

Thanks a lot. It works.

 

Peter

Helpful resources

Announcements
October Events

Mark Your Calendars

So many events happening this month - don't miss out!

 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Users online (3,103)