csrutil disable
Restart computer
In the terminal, type
sudo open /Applications/TextEdit.app /System/Library/LaunchDaemons/com.apple.ManagedClient.enroll.plist
change
<key>com.apple.ManagedClient.enroll</key>
<true/>
to
<key>com.apple.ManagedClient.enroll</key>
<false/>
So that the changes take effect
I updated to Sonoma from Ventura. I fail to see how the process would be any different regardless of what OS your laptop natively ships with. Also why would the m3 be any different than an m1 or m2. MDM has essentially nothing to do with the arm chip itself and is more about the underlying os than any hardware specifics.
The process should be the same regardless, and skipmdm should help if you are running into the mdm notification locking you out straight out of bootup.
Blocking the computer from ports that are pinging apple servers to check if your motherboard is registered as a mdm device seems to be the most important component which has been outlined before.
From my understanding the native os and m series chip you have shouldnt matter. The only difference that people should come across:
Your device doesnt have a mdm profile installed on it but the computer is registered as a mdm device thus you are getting notification popups telling you that your device needs to be registered.
Your device currently has a mdm profile installed on it and is being monitored which probably requires you to do a fresh install and you will need to disconnect your internet upon completing installation. This might not be needed with skipmdm though. I initially had to do this to wipe my corporate laptop and remove the mdm profile from it so I wasnt blocked out of it from my company without a admin account.
Are you able to login as a user on this laptop?