I want to achieve copying of template folder structure to a newly created folder in SharePoint Online. The template folder structure is set up in document library in a site. The new folders are created in another document library. I need that when a new folder is created, it is able to get same folders as set up in the the template folder structure.
Since new folders will have a specific name, i need that i could pass the folder name (along with its full site path+ document library) to SharePoint Online (either a powershell script file or powerautomate) which then copies the template folder structure to this newly created folder