Azure AD - Add active directory user to local Administrator account
 29.08.2022 12:22  karlsen
net localgroup "Remote Desktop Users" /add "AzureAD	he-UPN-attribute-of-your-user"

where FirstnameLastname is the name of the user profile in C:Users, which is created based on DisplayName attribute in Azure AD.

This command only works for AADJ device users already added to any of the local groups (administrators). Otherwise this command throws the below error. For example:

  • For cloud only user: "There is no such global user or group : name"
  • For synced user: "There is no such global user or group : name"

Logg inn for å kommentere.



0 kommentarer



216 visninger

Kommentarer
2025, made with by jan
Tid 0.0088779926300049 sekunder.