My Big Sur workflow was great.
Erase and Reinstall the OS either using Recovery or StartOSInstall, leave it to do it's thing, restart at the end of the build script and users can log in.
I tried the same process on Monterey and every time it restarts after installing its config profiles.
I had to do:
sudo profiles renew -type enrollment
sudo jamf policy
for the EnrolmentComplete triggered policy to kick in.
Has anyone got a fix for this?