Looking for PowerObjects? Don’t worry, you’re in the right place! We’ve been part of HCL for several years, and we’ve now taken the final step in our acquisition journey: moving our website to the HCL domain. Nothing else is changing – we are still fanatically focused on Microsoft Business Applications!

PowerObjects Blog 

for Microsoft Business Applications

|

Password Expiration for Office 365 and CRM Online

Post Author: Joe D365 |

As CRM Online becomes more and more popular, one of the issues that seem to pop up is the expiring of passwords. These usernamespasswords are inevitably changed when an integration comes along or perhaps with one of our PowerPacks. With a couple pieces of software we can set any users' password to never expire.

Both of these applications are available from Microsoft and are free to download. Make sure you have the correct version installed before following the steps below.

  1. Microsoft Online Services Sign in Assistant
    • If you are using the CRM Outlook client for CRM Online, you should already have this installed, if not you can click here to download this program
  2. Windows PowerShell for Azure Active Directory
    • Click here to download the file

Once these programs are installed, open the Azure Active Directory Module for Window PowerShell program:

Password Expiration for Office 365 and CRM Online

  1. Type in the following command
    • Connect –MsolService and hit Enter
  2. You will then be prompted to enter an Office 365 administrator user and password

    Password Expiration for Office 365 and CRM Online

  3. If you have entered in correct username password, you will be brought back to the Powershell screen

     

     

    Password Expiration for Office 365 and CRM Online

     

  4. Now we can enter in the following command to ensure the password will never expire
    • Set –MsolUser –UserPrincipalName username@xxx.onmicrosoft.com -PasswordNeverExpires $true
    • You will need to replace the username@xxx.onmicrosoft.com with the actual username that you want updated

    Password Expiration for Office 365 and CRM Online

 

 

There you have it! Now the conundrum of trying to remember your passwords are behind you. Please keep our other fantastic blogs in mind as you navigate the waters of Dynamics CRM!

Happy CRM'ing!

Joe CRM
By Joe D365
Joe D365 is a Microsoft Dynamics 365 superhero who runs on pure Dynamics adrenaline. As the face of PowerObjects, Joe D365’s mission is to reveal innovative ways to use Dynamics 365 and bring the application to more businesses and organizations around the world.

PowerObjects Recommends