• Health tips to prevent the spread of COVID-19:
    • Wash your hands frequently;
    • Maintain 2 meters social distancing;
    • Minimise outdoor activities.
    Stay safe in your bubble!

How to add AzureAD\User to Administrators group

Andy

Administrator
User ID
1
Joined
7 Jan 2019
Messages
218
Reaction score
8
Points
18
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:
Top