Try this powershell and deploy it to current user; add-localgroupmember -Group "Administrators" -Member "AzureAD$env:USERNAME" I use the same but with different cmdlet to remove local admin. I highly recommend that you DON'T want to do this :D
How to give a standard user a local admin rights on Windows devices via Intune?
How to give a standard user a local admin rights on Windows devices via Intune? What are the ways to do it and how I can achieve this as I tried EPM in Intune but somehow it did not work may be because of the policy or something is not configured correctly?
Windows 10
Windows 11
Microsoft Intune Configuration
Microsoft Intune Application management
Microsoft Intune
2 answers
Sort by: Most helpful
-
Pavel yannara Mirochnitchenko 13,066 Reputation points MVP
2023-04-20T10:36:31.81+00:00 -
Crystal-MSFT 53,911 Reputation points Microsoft External Staff
2023-04-21T01:18:51.58+00:00 @Vinod Survase, Thanks for posting in Q&A.
For the policy, could you confirm if we tried the policy in the following link to add the user into local administrators group? If not, try this one and see if it works.
However, if the above profile is still not working, please collect the following information to clarify:
- What is the profile deploy status? Is it successful or failed?
- How many devices are affected? What are these devices' join type, Azure AD joined or Hybrid Azure AD joined?
If there's any update, feel free to let us know.
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.