Enroll your MacOS device with the Intune Company Portal application as explained in the following guide.

https://learn.microsoft.com/en-us/mem/intune/user-help/enroll-your-device-in-intune-macos-cp