Hello @Alvin Tan
Based on your response here are both the scenarios:
1) Managing macOS devices with Endpoint Manager (Intune)
You can enroll devices in Microsoft Intune and manage them alongside iOS app management (iPhones and macBooks)
Set up enrollment for macOS devices in Intune
https://learn.microsoft.com/en-us/mem/intune/enrollment/macos-enroll
macOS device settings to allow or restrict features using Intune
https://learn.microsoft.com/en-us/mem/intune/configuration/device-restrictions-macos
2) You cannot run macOS in Azure VMs. You can only run Linux or Windows machines in Azure.
If this is helpful please mark as correct answer.