Hello,
I use a web flow to create a folder in a sharepoint that is holding files from a MS Team. To make sure that folder does not exist already I check the files in the father directory before creating my folder. If I find this folder does already exist I rename it by adding "-hhMMss" and only then create my folder. The strange thing I see is, that after renaming the old and creating the new folder I get 2 folders with the same name in my Teams channel (which is the name with the -hhMMss added. Looking at the sharepoint site I also see two folders with the same name, but without -hhMMss added.
Situation after first run of my flow:

Everything works like intended. The folder is created.
Now I run the same flow again. Because the folder does exist already I expect a renamed folder with an added -hhMMss and a new folder. But this is what happens:

The old folder and the new folder have the name extension. The same situation looking into the sharepoint site is:

Also duplicate folders but without the -hhMMss extension.
My Flow looks like this:

with the rename action

and the create folder action

I do not understand where the duplicate folders come from. Even more strange, if I delete one of the duplicate folders in Teams, the other folder suddenly appears without the -hhMMss part added to the name.
Any ideas what causes this behavior?