Apple's QA for the non-obvious UI worflows is non-existent. Case in point - their MDM commands:
1. The inputs/outputs don't match the official documentation
2. Once you figure how to pass the command in such a way that it's accepted, it still doesn't work on many occasions
Honestly it's sad that Mac has become the de-facto machine for dev computers these days - I'd be much happier with a Linux box (if it weren't for the damn battery life of the M1 :-) ).
Edit: formatting