How to ad Azure AD user to local admin group on workstation

If you want to add a user to the local admin group on a Azure AD joined device, you will simply have to run the following command:

net localgroup "administrators" /add AZUREAD\username

credits: Mark Luiten

Add a Comment

Your email address will not be published. Required fields are marked *