I am trying to have a scheduled recurring Power Automate task, to check a Document Library to see if a folder has been created there.
If it is, to move that Folder into another folder.
However, I am getting a BadRequest intially, then subsequent attempts, I get:
InvalidTemplate. Unable to process template language expressions for action 'Apply_to_each_2' at line '1' and column '13219': 'The template language expression 'body('List_folder')?['body']' cannot be evaluated because property 'body' cannot be selected. Array elements can only be selected using an integer index. Please see https://aka.ms/logicexpressions for usage details.'.
From what I can tell, the List Folder for the document library lists also the Forms and is causing the problem, so I don't know how I can get around it when the main focus is to move created folders and its contents.
Main purpose - Document Library is created to be an 'Upload Only' folder, to capture items being sent there, then moved to another folder. Doing When file is created only works on files, but not on a folder with content items.