How Can We Help?
-
Cloud
- HOW-TO: Open another user mailbox (OWA)
- HOW-TO: Restore Files using Syscloud Backup - GSuite
- HOW-TO: Add Email Account to Your Mobile Device with Outlook Web
- HOW-TO: Access Google Drive in File Explorer
- HOW-TO: Reconnect Google Drive for Desktop
- HOW-TO: Access to your Office 365 Account
- HOW-TO: Change file library locations to OneDrive
- HOW-TO: Change file library locations to Google Drive for Desktop
- HOWTO: Add Azure AD User to local administrator group
- HOWTO: Setup Azure AD Multifactor Authentication as a User
- HOWTO: Open a shared mailbox on your account
-
Computer
- HOW-TO:Add Printer to Windows 11 Workstation
- HOW-TO: First Time Login and Initial Google Workspace Login
- HOW-TO: Map a Network Drive
- HOW-TO: Clear Cache on a browser
- HOW-TO: Uninstall Applications
- HOW-TO: Find my ip address
- HOW-TO: Change file library locations to OneDrive
- HOW-TO: Change file library locations to Google Drive for Desktop
- HOW-TO: Change the screensaver
- HOW-TO: How to check your update status
- HOW-TO: Check network connectivity
- HOW-TO: Check your DNS
- HOW-TO: Change your desktop background
- HOW-TO: Forget Wireless Network and Reconnect
- HOW-TO: Find your computer name
- HOW-TO: Change your default browser
- HOW-TO: Manually stop a stuck application or process on Windows
- HOWTO: Change the default application for opening PDFs to a browser
- HOWTO: Change your startup apps
- HOWTO: Manage update settings
- HOWTO: Password Protect a Windows file
- HOWTO: Add Azure AD User to local administrator group
- HOWTO: Setup Azure AD Multifactor Authentication as a User
- HOWTO: Open a shared mailbox on your account
- Show Remaining Articles ( 9 ) Collapse Articles
-
Network
-
Mobile
-
Applications
-
Did You Know
-
Best Practices
-
DIY
- Articles coming soon
-
Security
-
Email
< All Topics
Print
HOWTO: Add Azure AD User to local administrator group
PostedOctober 10, 2024
UpdatedOctober 10, 2024
ByRob Bailey
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
To add an Azure AD (now called Entra ID) user to the local Administrators group on a Windows machine, follow these steps. Ensure that the system is already joined to Entra ID before proceeding.
Prerequisites
- The system must be joined to Entra ID.
- You must be logged in as a local administrator or have elevated privileges to manage groups.
Steps to Add an Azure AD User to the Local Administrators Group
- Open PowerShell as Administrator:
- Right-click on the Start button.
- Select Windows PowerShell (Admin) or Command Prompt (Admin) depending on your system configuration.
- Run the Command to Add the User to Administrators Group: Use the following command in PowerShell, replacing
AzureAD\YourUserName
with the actual Entra ID user name you wish to add:powershellAdd-LocalGroupMember -Group "Administrators" -Member "AzureAD\YourUserName"
- Example: If the user’s UPN (User Principal Name) is
johndoe@yourdomain.com
, the command would be:powershellAdd-LocalGroupMember -Group "Administrators" -Member "AzureAD\johndoe@yourdomain.com"
- Example: If the user’s UPN (User Principal Name) is
- Verify the User Has Been Added: After running the command, you can verify the user has been added to the local Administrators group by using:
powershell
Get-LocalGroupMember -Group "Administrators"
This will list all the members in the Administrators group, and you should see the Entra ID user listed.
- Log Out and Log Back In: The changes take effect after the user logs in again, so either log out or restart the system if needed.
Additional Notes:
- If you’re unable to use PowerShell or prefer a graphical method, you can add the Azure AD user to the Administrators group using the Computer Management console.
- Open Computer Management (press
Win + X
> Computer Management). - Navigate to Local Users and Groups > Groups > Administrators.
- Click Add, then select Locations and switch to Azure AD.
- Type in the Entra ID username and confirm the addition.
- Open Computer Management (press
That’s it! The Azure AD user should now have local administrative privileges on the machine.
Was this article helpful?
0 out of 5 stars
5 Stars | 0% | |
4 Stars | 0% | |
3 Stars | 0% | |
2 Stars | 0% | |
1 Stars | 0% |
5
Table of Contents