Ventura docs for M2 Macs in this comment: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd?permalink_comment_id=4555340#gistcomment-4555340
Old Monterey docs in this old revision: https://gist.github.com/henrik242/65d26a7deca30bdb9828e183809690bd/32c410e3a1de73539c76fa13ea5486569c4e0c5d
Solution for Sonoma: https://gist.github.com/sghiassy/a3927405cf4ffe81242f4ecb01c382ac
It is your call. I do not have the information about what was done that caused you to get a bad response from apsd.
However, the first command in the screenshot says enrolled via DEP/MDM: NO so generally there is no automatic profile install unless an Admin agrees to install a profile. This usually comes up in a push notification alert and if something has broken those push notifications, it will be difficult to accidentally enroll.