Create folder in sharepoint with 365

I need to create a folder every month to put files inside, in local i used create folder and the bot understand that no need to create a new one if there is already one, But in sharepoint i have a issue message

image
image

Hi Soudios,

I have always found using the o365 activities to be unncessarily complicated and a bit hit or miss. Would it at all be possible to sync the sharepoint to your development (and then production) environment? If so, you can interact with sharepoint as if it were a normal file or folder and gets rid of the need to use o365 activities.

Best,

Hi soudios,
Have you found any solution to it, I am facing the same issue!

How about surrounding it with a try catch. If the folder exists, catch the exception and continue processing.

Hi @Soudios

if you start debugging mode in which activity do you encounter the error?

Regards,
S.

In addition to surrounding it with Try Catch as suggested, another option is to use activities and check if the folder exists beforehand.

Hi @Whynotrobot @efelantti
The below code helps downloading files from a folder, and move the files in new created sub folder, under different folder.
If sub folder is present, skips creating it again and just transfers file in it.
Add your App and Tenant ID in O365 Scope.
GetFilesFromSharepoint.xaml (20.1 KB)