PHPKB Knowledge Base Software Logo  
Guru Corner
Online Knowledgebase System  
Knowledge Base Home Knowledge Base Home
Home > All Categories > Microsoft > Exchange > Office 365 > Disable Password Expiration
Question Title Disable Password Expiration

You have to run this through the Microsoft Online Services Module for Windows Powershell, not the standard PowerShell.

onlinehelp.microsoft.com/.../ff652560.aspx

Once you do that open the proper powershell and do:

$cred=Get-Credential

connect-MSOLService -credential $cred

Get-MSOLUser | Set-MsolUser -PasswordNeverExpires $true

That will turn off password expiration for all of your accounts.

Authored by: Guru Corner
Click Here to View all the questions in Office 365 category.
File Attachments File Attachments
Article Information Additional Information
Article Number: 272
Created: 2013-01-13 1:15 AM
Rating: No Rating
 
Article Options Article Options
Print Question Print this Question
Export to Adobe PDF Export to PDF File
Export to MS Word Export to MS Word
 
Search Knowledge Base Search Knowledge Base
 
 

Powered by Guru Corner