I do not believe that using your smartphone as a Azure IoT device is a replacement to a MDM solution.
What you are looking for to manage your devices in Microsoft Intune. For more information about Microsoft Intune please see:
https://learn.microsoft.com/en-us/mem/intune/enrollment/
-------------------------------------
If this is helpful please accept answer.