How to make a specific password expiration policy for a specific group of users in azure ?

Mohamed Soliman 46 Reputation points
2022-01-01T23:42:54.777+00:00

How to create different password policies for users and choose a policy for every user

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,480 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
24,169 questions
{count} votes

Accepted answer
  1. Siva-kumar-selvaraj 15,721 Reputation points
    2022-01-03T20:58:54.873+00:00

    @Mohamed Soliman ,

    Thanks for reaching out.

    You can customize password expiration policy for cloud only users from M365 admin centers' Security & privacy tab or using Azure AD cmdlet Set-MsolPasswordPolicy which applies to all user accounts that are created and managed directly in Azure AD but unfortunately we cannot make a specific password expiration policy for a specific group of users.

    162031-image.png

    The Azure AD password policy doesn't apply to user accounts synchronized from an on-premises AD DS environment using Azure AD Connect, unless you enable EnforceCloudPasswordPolicyForPasswordSyncedUsers.

    Refer to the following articles to learn more:

    Azure AD password policies
    Set the password expiration policy for your organization

    Hope this helps.

    -----
    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    2 people found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Ravi Kanth Koppala 3,311 Reputation points Microsoft Employee
    2022-01-02T05:04:40.92+00:00

    @Mohamed Soliman ,

    By creating custom password policies, you can create a specific password expiration policy for a specific group, location on Azure active directory domain services. To do this, you must be signed in to a user account that's a member of the AAD DC Administrators group.

    For more details read the document - https://learn.microsoft.com/en-us/azure/active-directory-domain-services/password-policy#default-password-policy-settings

    (If the reply was helpful please don't forget to upvote and/or accept as the answer, thank you)

    1 person found this answer helpful.

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.