I am trying to work out a method that is easy to use, quick to enable and quick to deactivate when it comes to users requesting elevated permissions to carry out administrative tasks on their entra joined Windows devices.<\/p>\n
Advertisement
I have been experimenting with EPM and PIM (Just in time) access, but these both have their issues and don’t quite cut the mustard in the way I was hoping. The EPM seemed ok at first for installing apps and running ‘some’ things as administrator, but it falls short on downloaded msi’s and doesn’t allow the user to change path variables and other system settings.<\/p>\n
Advertisement
The PIM worked, eventually, but it took a while for a user to be added to the entra joined local admin group on the device, even after a reboot. I had to run some command to update the PRT and then log off and back on again for me to finally get admin rights. Not only that, but it’s the same in reverse, if I don’t log out after the expiry time, I still had admin access. Plus, we don’t like the idea of a standard user having admin rights, it’s just not best practice.<\/p>\n
So, is there a way where a primary user of an Entra device can access the LAPS password for the configured user on their own device, use this to carry out the task at hand and then for the password to automatically rotate ready for the next use?<\/p>","upvoteCount":2,"answerCount":12,"datePublished":"2024-10-23T20:29:15.292Z","author":{"@type":"Person","name":"danielthomas15","url":"https://community.spiceworks.com/u/danielthomas15"},"suggestedAnswer":[{"@type":"Answer","text":"
I am trying to work out a method that is easy to use, quick to enable and quick to deactivate when it comes to users requesting elevated permissions to carry out administrative tasks on their entra joined Windows devices.<\/p>\n
I have been experimenting with EPM and PIM (Just in time) access, but these both have their issues and don’t quite cut the mustard in the way I was hoping. The EPM seemed ok at first for installing apps and running ‘some’ things as administrator, but it falls short on downloaded msi’s and doesn’t allow the user to change path variables and other system settings.<\/p>\n
The PIM worked, eventually, but it took a while for a user to be added to the entra joined local admin group on the device, even after a reboot. I had to run some command to update the PRT and then log off and back on again for me to finally get admin rights. Not only that, but it’s the same in reverse, if I don’t log out after the expiry time, I still had admin access. Plus, we don’t like the idea of a standard user having admin rights, it’s just not best practice.<\/p>\n
So, is there a way where a primary user of an Entra device can access the LAPS password for the configured user on their own device, use this to carry out the task at hand and then for the password to automatically rotate ready for the next use?<\/p>","upvoteCount":2,"datePublished":"2024-10-23T20:29:15.369Z","url":"https://community.spiceworks.com/t/laps-account-access/1133744/1","author":{"@type":"Person","name":"danielthomas15","url":"https://community.spiceworks.com/u/danielthomas15"}},{"@type":"Answer","text":"
You can create a custom Entra role and assign the microsoft.directory/deviceLocalCredentials/password/read permission to it. Then anyone with the role can view LAPS passwords. The scope of the role can be limited with administrative units, but I’m not aware of a way to limit the user to viewing the password only for their workstation(s).<\/p>\n