black handled key on key hole

How to manage the local administrators group on Azure AD joined devices

After a device is deployed likely using autopilot, sometime you have a need to add an AzureAD user to the local administrators group on a PC. Below i will show you how. I found this information from Microsoft documentation.

How to manage local administrators on Azure AD joined devices | Microsoft Docs

Starting with the Windows 10 1709 release, you can perform this task from Settings -> Accounts -> Other users. Select Add a work or school user, enter the user’s UPN under User account and select Administrator under Account type

Additionally, you can also add users using the command prompt:

  • If your tenant users are synchronized from on-premises Active Directory, use net localgroup administrators /add "Contoso\username".
  • If your tenant users are created in Azure AD, use net localgroup administrators /add "AzureAD\UserUpn"

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.