Give permission to a Local User into a Local Administrator from Azure AD or Intune

Rizwan Sammo 20 Reputation points
2024-05-10T19:32:14.6233333+00:00

Hello,

I am currently managing an Organization computer devices from Azure AD and Intune. I recently facing a challenge to make a User into a Local Administrator. I tried by using Power Shell command, user also get Administrator role for some moment, but after some time it again looses the role. I need to make a local user into a Local Admin.

Microsoft Security | Microsoft Entra | Microsoft Entra ID
Microsoft Security | Intune | Other
{count} votes

Answer accepted by question author
  1. ZhoumingDuan-MSFT 17,360 Reputation points Microsoft External Staff
    2024-05-13T01:32:51.3233333+00:00

    @Rizwan, Thanks for posting in Q&A.

    From your description, I know you want to give local user with administrator rights via Intune.

    Based on my research, there are three methods to add users to administrator group via Intune.

    1.Using a PowerShell Script

    2.Using an Autopilot Deployment Profile

    3.Using Local User Group Membership policy

    Here is a link with detailed information you can refer.

    https://techpress.net/add-a-user-group-to-local-admin-using-intune-3-ways/

    Non-official, just for reference.

    Please note that only Microsoft Entra users are available for method 2 and method 3.

    Hope above information can be helpful.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1 additional answer

Sort by: Most helpful
  1. Marcin Policht 73,180 Reputation points MVP Volunteer Moderator
    2024-05-10T19:40:53.6033333+00:00

    Add that user account to the local Administrators group


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.