A bit of a rant here, last few days of work with a lot going on and I have 20 iOS devices I need to refresh so I erased the devices using the below options.

Now the command went through but not correctly. All it did was remove the enrolment profile and not erase the device. So now I have the manually erase each device using configurator and start from scratch. It's my fault for trusting the system but a word of warning for anyone else looking to use this feature test it with a single device first.
Note: All devices running iOS 17 as required.

If you found this post helpful, please give it Kudos. If my answer solves your problem, please click Accept as Solution so others can benefit from it.