Firstly, you'll need an ADE profile that skips AppleID. That's Done through Systems Manager > ADE > Enrollment Profiles
You can then create one which skips the various AppleID settings. You'll need to assign this to your device(s) and then set them up
You can then go to Systems Manager > Settings, create a new profile and add a Restrictions payload to it, and deselect Account Settings