Decide whether you want to add an individual Entra ID user account or an Entra security group. Using a security group is recommended for scale โ add users to the group and the policy applies automatically.
Make sure the account exists in Entra ID (Azure AD) before proceeding. Note the exact display name or UPN โ you'll need it when selecting in the policy.
Navigate to the Intune admin center and create a new Account Protection policy targeting the Local user group membership profile.
Profile: Local user group membership
Click Create.
LocalAdmin-Add-Helpdesk. Click Next.
Local group: Administrators
Group or user action: Add (Update)
User selection type: Users/Groups
Selected users/groups: Click Select users/groups and choose the Entra ID user or security group you want to add.
Add (Replace) โ replaces the entire group membership with only the members you specify. Use with caution.
Remove (Update) โ removes specific members from the local admin group without affecting others.
Policy delivery isn't instant. To speed it up on a test device, trigger a manual sync using one of these methods:
Get-ScheduledTask | Where-Object {$_.TaskName -like "*PushLaunch*"} | Start-ScheduledTask
Check that the policy applied successfully before verifying on the device.
Confirm the user or group has been added to the local Administrators group directly on the target device.
Get-LocalGroupMember -Group "Administrators"