@Mark Lawrence Run the DSRegCmd /Status
cmd, you should see AzureAdJoined : YES
in the output under Device State section as shown below:
AzureAdJoined : YES
EnterpriseJoined : NO
DomainJoined : NO
In order to disjoin the machine from Azure AD, you need to run DSRegCmd /Leave
in elevated command window. Logout and Log back in to the server and run DSRegCmd /Status
again to confirm if you are getting AzureAdJoined : NO
in the output.
-----------------------------------------------------------------------------------------------------------
Please "Accept as answer" wherever the information provided helps you to help others in the community.