How to add AzureAD\User to Administrators group

Andy

Administrator
Creative Team
User ID
1
Joined
7 Jan 2019
Messages
1,142
Reaction score
58
Points
48
You can do this via command line:
  1. Login to the PC as the Azure AD user you want to be a local admin. This gets the GUID onto the PC.
  2. Log out as that user and login as a local admin user.
  3. Open a command prompt as Administrator and using the command line, add the user to the administrators group. As an example, if I had a user called John Doe, the command would be:
    Code:
    net localgroup administrators AzureAD\JohnAppleseed /add
Log back in as the user and they will be a local admin now.
 
 Short URL:
Back
Top