Choose password expiration time when Windows LAPS store password in Entra ID

Cicindela31 0 Reputation points
2023-12-09T10:01:31.98+00:00

Hi,

We just begin to migrate from Legacy LAPS to Windows LAPS and we choose to store password on Entra ID.

With LAPS Legacy we could set password expiration time, while with passwords on Entra ID it seems we can just rotate according to our policy. Is there a way to set custom password expiration time?

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Microsoft Security | Intune | Other
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Thameur-BOURBITA 36,261 Reputation points Moderator
    2023-12-09T10:55:58.71+00:00

    Hi @Cicindela31

    You can use the following command :

    Set-LapsADPasswordExpirationTime -Identity MachineName -WhenEffective (Get-Date -Date "07/04/2024 12:00:00") 
    

    To get more details about this Powershell command please read the following article:

    Set-LapsADPasswordExpirationTime


    Please don't forget to accept helpful answer


  2. ZhoumingDuan-MSFT 17,165 Reputation points Microsoft External Staff
    2023-12-11T02:38:12.5633333+00:00

    @Castagnet judicael,Thanks for posting Q&A.

    From your description, I know that you want to set custom password expiration time when using Windows LAPS.

    Based on my researching, I find that you can custom password expiration time in Intune. You can configure Password Age Days in Endpoint security > Account protection > Windows 10 and later as Platform, Local admin password solution (Windows LAPS) as Profile > Configuration settings.

    User's image

    User's image

    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.


Your answer

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