stepbytech

Step by Step Directions for Techs

Set Office365 Password To Not Expire

I know there have to be thousands of these articles, but I can never find the information when I need it. So here it is:

Connect-MsolService
Get-MSOLUser -UserPrincipalName | Select PasswordNeverExpires

 

 

You need a couple things (from https://technet.microsoft.com/library/dn975125.aspx):

These steps are required once on your computer, not every time you connect. However, you’ll likely need to install newer versions of the software periodically.

1. Install the 64-bit version of the Microsoft Online Services Sign-in Assistant: Microsoft Online Services Sign-in Assistant for IT Professionals RTW.
https://go.microsoft.com/fwlink/p/?LinkId=286152

2.Install the 64-bit version of the Windows Azure Active Directory Module for Windows PowerShell: Windows Azure Active Directory Module for Windows PowerShell (64-bit version).
https://go.microsoft.com/fwlink/p/?linkid=236297

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: