Cool command! That looks very powerful. For me, it still wasn't letting
me remove that final CA Cert and I got the error."Unable to delete
certificate matching 'XYZ Certificate Authority'"
I'm running into this same issue.I have the "Call Automated Enrollment"
box checked and (this time) have ensured the devices are in ABM and the
correct PreStage in Jamf.Experiencing this "no MDM Profile" issue in
macOS Monterey 12.6.1 and Ventura 13....