If your devices are joined using Azure AD, you have at some point tried to add that Azure AD user to a local group, or temporarily as a local administrator.
We recently tried this and discovered that the Office 365 Azure AD user is in fact not listed as a local user able to be added in computer management.
So this begs the question, how do you add an Office 365 Azure AD user as a Local Administrator? Well, luckily, we are just a simple command away.
1. Open up Command Prompt by right-clicking it and selecting "Run as Administrator"
2. Enter the following command:
Net localgroup Administrators /add "AzureAD\<users Office 365 Email Adddress>"
The command should complete successfully. It is important to note that you must use the user's email address.
Copyright © 2023 - All Rights Reserved