I think I know what I need to now for this, just have to figure out how to parse the machines out of the list of leftovers, then figure out how to take that list and replace the correct machines in the XML with the leftovers list and re-import the automation plan with the SA REST API. Still, I need to figure out the first and second piece. First one being here
Sorry, didn’t mean to open up two different issues.