This script will let you reverse migrate Vms from the cloud back to legacy. It will also connect to the legacy Center and put the VMs into the correct folder for you.
uses a csv as shown here: https://vmusketeers.com/wp-content/uploads/2020/04/image-7-1024x49.png