Wednesday, August 1, 2012

Disabling Password Expiration for Office 365

I use an Office 365 account (E3 SKU) for most of my personal email.  One of the things that bugs me, say every 90 days or so, is the password expiration.  Because there is no great notification through ActiveSync or Outlook Anywhere, I find my password expiring on me at the worst times.  Also, every 90 days or so, I tell my self that I am going to get around to setting my password to not expire.  Well today is that day!

I am sure there are a ton of blogs out there on this, but I decided to go ahead and document the process on my blog since I use my blog as a personal documentation repository for several things.

Step 1: Download and install the Microsoft Online PowerShell Module

There is no GUI option to disable passwords within the Office 365 portal, so powershell it is.  You can download the Microsoft Online Services PowerShell module here:

I downloaded the 64-bit module and started the install on my desktop:

O365 - PS download

Default options for the installation will be fine.

Step 2: Use PowerShell Module to Connect to Office 365

Open the Microsoft Online Service Module for Powershell and connect to Office 365 by running: Connect-MsolService.  This will prompt for credentials.  Enter credentials that have administrator rights within your online tenant. 

O365 - connect-cred

Step 3: Configure User for No Password Expiration

You can view the properties of your user account by running:

Get-MsolUser –UserPrincipalName <username> | fl

Below shows all the parameters that can be configured for the user.  I am focusing on the PasswordNeverExpires parameter:

O365 - get-user - markup

Now to set the account so that the password will not expire, I run:

Set-MsolUser –UserPrincipalName <username> –PasswordNeverExpires $true

O365 - set-user

Now I am set!

55 comments:

  1. Wow this was exactly what I needed, why is it not possible through the Microsoft 365 site though? Never had to download an application before just to change such a simple setting.

    ReplyDelete
  2. Doesn't the Microsoft Online PowerShell Module require the Microsoft Online Services Sign-in Assistant?

    ReplyDelete
  3. Great tutorial! Thanks for describing step-by-step all the process of disabling Password Expiration for Microsoft Office 365, your detailed explanation helped me a lot to make my work more comfortable.

    ReplyDelete
  4. He he... that is some sneaky info you got there my friend.
    http://www.gilltom.com/software/how-to-make-best-use-of-the-relation-insights-in-dynamics-365-backed-by-the-power-of-ai/

    ReplyDelete


  5. I am a traveller and I like to explore new places, I heard about Southwest Airlines a lot. So when I dialed Southwest Airlines Customer Service I got the flight tickets with best deals and offers which maybe I cannot get from anywhere. I want to travel with them next time too.

    ReplyDelete

  6. I am a family person and we all know that saving money for a family person is very difficult. One day I was searching some travelling sites then I got Lufthansa Airlines. When I dialed their Lufthansa Airlines Phone Number I got amazing deals and discounted tickets even with best facilities. So without thinking too much I booked my tickets and I also enjoyed travelling with them.


    ReplyDelete
  7. If you are facing any type of flight-related issues and searching for a reliable source for instant solutions, contact Qatar Airways Reservations. Our travel experts will positively serve you with good solution services. So do call us once to get the best answer to any problem regarding flight ticket bookings like seat availability, flight status or flight time.


    ReplyDelete
  8. I am a traveller and I like to explore new places, I heard about Southwest Airlines a lot. So when I dialed Southwest Customer Service I got the flight tickets with best deals and offers which maybe I cannot get from anywhere. I want to travel with them next time too.

    ReplyDelete
  9. Obviously Turkish Airlines is best Airlines without any doubt. Whenever I have a vacation plan, I always travel with Turkish Airlines because you can travel anywhere even in your budget with them with many amazing facilities. If you are also looking for affordable flights, then dial Turkish Customer Care .

    ReplyDelete
  10. Cheaper airfare is that the primary thing for the travelers who are getting to travel with the Etihad Airways Reservations. with none worry, you'll book your cheap flight tickets during a jiffy and that’s why we are the simplest travel partner of the people for Etihad Online Booking. If you would like to book cheap flight tickets at the eleventh hour then you want to turn Etihad Airways Phone Number.

    ReplyDelete
  11. The best option or the fly journey is always Etihad Airways Reservations for many people because they will be able to save money on the booking of cheap air tickets through Etihad Airways Flight Booking. When you are thinking to grab the higher airfare discount on the flight booking then you can call on the Etihad Airways Phone Number because by calling on this number you can clear all doubts regarding the booking.

    ReplyDelete
  12. Cheaper airfare is the primary thing for the travelers who are going to travel with the Porter Airlines Reservations. Without any worry, you can book your cheap flight tickets in a few minutes and that’s why we are the best travel partner of the people for Porter Online Booking. If you want to book cheap flight tickets at the last minute then you must call on Porter Airlines Phone Number.

    ReplyDelete
  13. Lufthansa Airlines Reservations is the best thing for the people to save cost on the flight tickets. We are sure that our cheap flight tickets help you to manage your journey on the last-minute also. The last- minute flight deals are also available at the Last Minute for AA Booking on the Lufthansa Airlines Phone Number

    ReplyDelete
  14. The major airline of the world Delta Airlines is serving many destinations to the people for the fly journey across the United States. When it comes to getting the 100% confirmation for Delta Airlines Reservations then it is important to know about the cheap flight deals for Delta Airlines. Get the answers to all queries by dialing Delta Airlines Reservations Phone Number. 

    ReplyDelete
  15. Call the specialist at Spirit Airlines Phone Number and book your flight tickets at lowest price. Spirit Airlines is offered world famous service provider.

    ReplyDelete
  16. Fulfill all your dreams from the journey Join us. Book now at Spirit Airlines Phone Number for a smooth and hassle-free holiday experience.

    ReplyDelete
  17. I appericiate your comments i want to share that Get all data about the flight booking at the brisk and proficient helpline helping a large number of travelers.


    spirit airlines reservations
    allegiant airlines reservations


    alalska airlines reservations
    united airlines official site


    southwest airlines reservations
    spirit airlines official site.

    ReplyDelete
  18. To be honest I found very helpful information your blog thanks for providing us such blog “Kevin Pietersen and Sunil Gavaskar

    ReplyDelete
  19. Thank you dear, for making such as important information. I hope you will update this information to add more value if needed, thank you again and take care.
    Internal Financial Control in Delhi

    ReplyDelete
  20. To make your journey seamless and smooth. One of the easiest ways to check your Qatar Airways Manage Booking is by visiting the Qatar Manage Booking.

    ReplyDelete
  21. I really happy found this website eventually. Really informative and inoperative, Thanks for the post and effort! please keep sharing and i am a blogger as well, if you want to fly to your dream destination even in your budget then visit Flights From Chicago To New York .

    ReplyDelete
  22. Going with the Spirit Airlines Reservations is a great idea for you to save your travel cost in the festive season also. We are always providing the cheap air tickets deals on the flights booking and to know about the deals and offers you can also visit at Spirit Airlines Official Site. Grab the most cost-effective Travel Deals to save your travel cost.

    ReplyDelete
  23. Going with the Spirit Airlines Reservations is a great idea for you to save your travel cost in the festive season also. We are always providing the cheap air tickets deals on the flights booking and to know about the deals and offers you can also visit at Spirit Airlines Official Site. Grab the most cost-effective Travel Deals to save your travel cost.

    ReplyDelete
  24. A well written Content provided by you. Your writing skills are perfect alaska airlines booking. i hope so you will alaska airlines flights write more content like this but if you are searching for flights then contact us or visit our website.

    ReplyDelete
  25. Online Booking of Air Tickets is not a difficult thing for you when you are going to confirm you’re Alaska Airlines Reservations. This is the right time to manage your cheap flight tickets by calling on Alaska Airlines Reservations Phone Number. This is the number of Alaska Airlines Online Booking and you can confirm your plane tickets on this number.

    ReplyDelete
  26. Let’s go on the best journey by choosing the best flight deals on Eva Airlines Reservations. The reservations deals are important for you to save money on flight tickets booking. Therefore, just dial the Eva Airlines Phone Number and know about the various flight booking deals on the Eva Airlines Flights.

    ReplyDelete
  27. Graphology is the study of handwriting as a means of analyzing character. Also called handwriting analysis. Graphology in https://www.nirvaanalife.com/this sense is not a branch of linguistics. The term graphology is derived from the Greek words for "writing" and "study." Read More about nirvaanalife

    ReplyDelete
  28. My vacation was amazing and memorable but it was only possible to enjoy there because of American Airlines Booking Number. I got my flight tickets just two days before my trip thanks to their number.

    ReplyDelete

  29. Oh my goodness! Awesome article dude! Thanks, Numerous tips!

    my website - 부산오피

    ReplyDelete
  30. Cilicon Spark is the best 510 thread vape pen battery for THC and CBD vaping. it is compatible to all 510 thread cartridge, Spark’s reliable quality promise a durable life expectancy. Read more at the best 510 vape battery.

    ReplyDelete


  31. I will bookmark this site and come to it from time to time. Your writing has been of great help to me.

    Click here to chceck my blog :: 대구오피

    (freaky)

    ReplyDelete
  32. The Best Stock broker compares and reviews best Trading Platforms in India Stock Market. You will get the Best Trading Platform in India which is an important requirement for trading.

    ReplyDelete
  33. Gold is considered a valuable asset that never goes out of trend. Are you looking for invest in Gold, but not sure about its future prices? Here you can find Gold Rate Forecast for next days, months & years.

    ReplyDelete
  34. Groww is one of India’s fastest growing online investment platforms. It offers paperless investing options by letting you buy and sell stocks and mutual funds online. Through this Groww App Review, we will talk about the Groww brokerage charges and commissions for stocks.

    ReplyDelete
  35. "Do what you fear, and the death of fear is certain." by Anthony Robbins. เว็บบาคาร่า

    ReplyDelete
  36. Ati testing login Overview: Stay ahead of the market with our live and real time stock market overview. Get all of your favorite stocks in one place, and get alerted to live news at the same time!

    ReplyDelete
  37. https://gameboot.xyz The truth is them on magazines and also on Television set, women and men who appear to be their forearms and legs will explode since their muscle groups are really huge! There is not any need to have that you should acquire the body for that levels when you don't desire to, as the straightforward techniques in the following paragraphs will help you to construct muscle inside a healthier way.

    ReplyDelete
  38. I just conceive this unique internet site holds numerous real fantastic info for any one. "Philosophy triumphs easily over past evils and future evils but present evils triumph over it." by La Rochefoucauld.
    บาคาร่าเว็บไหนดี

    ReplyDelete
  39. "HUAYDED789 หวยออนไลน์ 24 ชั่วโมง ระบบที่ทันสมัย แทงหวยง่าย โอนเงินไว หวยออนไลน์ที่นี่จ่ายสูง ส่วนลดเยอะ โปรโมชั่นพิเศษสำหรับสมาชิกใหม่ และสิทธิพิเศษมาก มาย แจกเครดิตฟรีอย่างต่อเนื่อง"

    ReplyDelete
  40. Mutual Funds offer several benefits like economies of scale, diversification, expert monetary investment, easy liquidity, transparency, and others.

    ReplyDelete
  41. ทางเข้าslot joker123 สามารถ เข้า ต้องการลงทะเบียนเป็นสมาชิก PG SLOT ตอนไหนก็ได้ สมัครได้เลย การลงทะเบียนสมัครสมาชิกแบบไม่จำกัดเวลา สล็อต ทำให้บรรดานักเล่นการพนันเยอะมาก Gaming

    ReplyDelete
  42. ทีเด็ด 4 เซียน ในการเล่นเกมพนัน คุณสามารถหาได้จากเว็บไซต์ที่มีชื่อเสียงในวงการ บริการเช่น สมัครเล่นเกมส์ PG SLOTออนไลน์ หรือศูนย์กีฬาที่มีรายงานด้านกีฬาและการพนัน

    ReplyDelete
  43. เกม Gameslot-789 พีจีสล็อต เว็บตรง จะเป็นเว็บไหนไปไม่ได้นอกจากเว็บ PG game slot เพราะมีระบบทางด้านการเงินที่มั่นคงและการทำธุรกรรมที่รวดเร็วกว่าใครๆ

    ReplyDelete
  44. pg slot auto Pg Auto ทางเข้าเล่น หรือ pgslot เกมพีจีสล็อจ pg สล็อตออนไลน์ (pg slot auto) จากค่าย pg soft และก็ บาคาร่า ออนไลน์ ที่มาใน รูปแบบใหม่ เป็นเกมส์ ยอดฮิต

    ReplyDelete
  45. NS Ventures offers innovative proptech services to enhance the real estate industry. We provide solutions such as property management systems, smart building technologies, and 3D Virtual Reality Tours. Their platform allows property managers to efficiently manage their assets, while also giving tenants access to online resources and maintenance requests. NS Ventures' smart building systems incorporate energy-efficient features to reduce utility costs, optimize building operations, and improve tenant comfort. With virtual reality tours, potential buyers and renters can experience properties from anywhere in the world, saving time and expenses associated with physical visits. NS Ventures is committed to ongoing innovation and disruption in the proptech market.

    ReplyDelete