Please check if these document can help
https://www.tenforums.com/tutorials/105509-disconnect-windows-10-pc-azure-ad.html
https://learn.microsoft.com/en-us/azure/active-directory/devices/device-management-azure-portal
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
How do I remove Microsoft Azure from my PC?
Hello,
Refer this guide:
https://www.kapilarya.com/how-to-disconnect-windows-10-from-azure-ad
Let us know if this helps!
Note: Included link in this reply refers to blog post by a trusted Microsoft MVP.