Disable password expiry on office365 account

How to disable password expiry of user email account on office 365 ?

 We are going to share with all of you that how to disable password expiry of user email account on office 365. There are several procedure which have been mentioned step by step and these are very helpful and easy to do. We need to care on something such as when open Poweshell with administrator Privilege so there should be not shown error in red text if this shown on your screen means that powershell not supported with your system so please use another system try again.




Note:-If shown information error on your screen while running to power shell, it mean it would not work on your system. In this case you will have to use another system and check that it's working on that or not.



Please follow step by step to disable password expiry of user email account on office365.

Step1: Install Azure Active directory Powershell
           For download .msi file - Azure Active directory Powershell  Download

Step2: To connect Azure Active directory Powershell account
           Connect-MsolService



Step3: To check all email accounts which have been created on your individual domain.
           Get-MsolService -all -domainName abc.com

Step4: To check all email accounts which have been created on your all existing domain.
           Get-MsolService

Step5: To disable password expiry for a user email account
           Set-MsolUser -UserPrincipalName test@domain.com -PasswordNeverExpire $true

Step6: To Check password expiry for a user email account
           Get-MsolUser -UserPrincipalName test@domain.com| select PasswordNeverExpires

  

Hope this will help to all of you and resolved your all query if you have any query or question so you may ask to send email on our email account (onlinenetworkssolution@gmail.com) or leave comment on page.


Share:

0 comments

Please leave your comments...... Thanks