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!

87 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. This website can live streaming , you can join at my site :
    agen judi online terpercaya
    Prediksi Bola

    Thank you
    agenpialaeropa.club
    gamesonline.ga
    beritasemasaterikini.net

    ReplyDelete
    Replies
    1. Technology does have some complexities associated with it. Be it be old or new technology, it has some glitches and flaws associated with it. We at Trend Micro Geek Squad, are a team of technical expert professionals, offer support related to any of your digital or electronic device failures. Whenever you get an error, your system is running slow, or not working adequately call us straight away.
      Our Geek Squad Tech Support team is focused on tuning-up your devices and bringing them in workable condition as before.Webroot Geek Squad support related services include providing a quick security solution to resolve the issues that are said to be contagious.

      Delete
  6. Get repair or replacement for your old and damaged devices with Staples Tech Support. Our experts are available 24/7 to help, contact Staples Tech Support.

    ReplyDelete
  7. Plumbers On Call provides best services for your queries with Plumbers Near Me. We are active all day to provide plumbers at your homes! Visit Plumbers On Call.

    ReplyDelete
  8. Check the American Airlines Book a Flight page now to know more about best time to Book A Flight With American Airlines. Or call us at our toll-free number.

    ReplyDelete


  9. 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
  10. Our experts will bring tremendous joy when you choose us for Air China Airlines Book A Flight. Call our experts now to get instant help. Call Now!!

    ReplyDelete
  11. When you search for Rehabilitation Centers, it became difficult in the initial stage to get in touch with anyone. Our helpdesk is here for you. Call now.

    ReplyDelete

  12. 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
  13. 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


  14. Hey! I’m a regular visitor of your website because of your useful information that I got every single time. There is something special about you that bounds me to your website. By the way, I work in Allegiant Airlines. Considering the current situations of the world, if anyone wants to know about the Allegiant Airlines Cancellation, and its process, they can directly contact me. I will be more than happy to help you out!

    ReplyDelete

  15. Hey! Thanks for providing such genuine information in simple sentences. I was longing to get it for a long time! Well, I’m a booking manager in Lufthansa Airlines. If you have set your mind to cancel your flight tickets due to the present lockdown kind of situation, then directly contact me for the instant and easy Lufthansa Airlines Cancellation.

    ReplyDelete

  16. I must appreciate your information and your way of presenting it in such simple yet effective words. There is a reason that I really like to come to your website, whenever I look for some important information. Well, hey there! I work with Southwest Airlines Cancellation helpdesk, if you want to cancel your flight tickets anytime, then contact me to get your work done instantly.

    ReplyDelete

  17. I really admire your hard-work in bringing out such important information in user-friendly ways. Your website is almost every-time, the solution of my every query. Well, Hey! I work with Spirit Airlines Cancellation team, if at any point in time you want to cancel your flights, then do contact me for the fast, easy and hassle-free process.

    ReplyDelete

  18. I tried to avail the services at United Airlines and also got the best experience. With the easy procedures of cancelling a flight ticket when talking United Airlines cancellation number, I got to travel and enjoy myself to make my trip hassle free. Thank you for this experience!

    ReplyDelete

  19. 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

  20. 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
  21. 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
  22. Hey! I’m a regular visitor of your website because of your useful information that I got every single time. There is something special about you that bounds me to your website. By the way, I work in Allegiant Airlines. Considering the current situations of the world, if anyone wants to know about the Allegiant Airlines Cancellation, and its process, they can directly contact me. I will be more than happy to help you out!

    ReplyDelete
  23. I must appreciate your information and your way of presenting it in such simple yet effective words. There is a reason that I really like to come to your website, whenever I look for some important information. Well, hey there! I work with Southwest Airlines Cancellation helpdesk, if you want to cancel your flight tickets anytime, then contact me to get your work done instantly.


    ReplyDelete

  24. What can I say? The experience of travelling with Lufthansa Airlines was very fabulous. I got my every solution here. When I connected with experts by dialling Lufthansa Airlines Customer Service then finally I got the flight tickets with best facilities within my budget. I would like to advice everyone to travel with them.

    ReplyDelete
  25. 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

  26. I am from US and I love travelling so that’s why one of my friend suggest me to travel with Spirit Airlines. When I connected with them by dialling Spirit Phone Number then I found the experts are very pitiable and helpful, they book my tickets at very affordable prices. I really enjoyed travelling with them.

    ReplyDelete
  27. 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
  28. If you are searching for someone for your Printer Setup, then we assure you that we are always available for you. You can reach us at any time.

    ReplyDelete
  29. While QuickBooks has easy-to-use features to maximize online accounting for your business, call QuickBooks Customer Service Number for the best guidance.

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

    ReplyDelete
  31. We have perused your blog It was extremely useful blog. southwest airlines phone number and contact expert teams soloves your problems want we have assembled a lot of information that has helped me a great deal of travels. Individuals can likewise visit our site.

    ReplyDelete
  32. hey your blog is useful if you want buy dslr camera you can visit. anyone can save good amount of money you buy best dsrl camera.

    ReplyDelete
  33. 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
  34. I appericiate your blog is useful.i want to share about dslr camera .DSLR camera is a good for photography and the videos.want known more about dslr camera visit website your comments is very useful.

    ReplyDelete
  35. In the modern world, people can easily do anything by choosing an online platform. You are on the right flight booking search engine for the KLM Airlines Reservations. When you want to confirm your cheap plane tickets at the last minute then you need to take a look at the deals available on the travel agency website. Our KLM Airlines Phone Number can assist you in managing your journey at the lowest airfare deals.

    ReplyDelete
  36. 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
  37. 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
  38. 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
  39. 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
  40. Most of the people are looking for cheap flight deals and that’s why Allegiant Airlines Reservations are the best for them. If you are thinking to save more money on the booking of air tickets through Allegiant then you need to call on the Allegiant Airlines Reservations Phone Number. By calling on this number, you will be intimated with the cheap flight deals of Allegiant.

    ReplyDelete
  41. 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
  42. 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
  43. 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
  44. To be honest I found very helpful information your blog thanks for providing us such blog “Kevin Pietersen and Sunil Gavaskar

    ReplyDelete
  45. If you want to buy a flight ticket with easy, you can make our booking for United Airlines Reservations. You can take the form of this country by booking flight tickets in advance by United Airlines Manage Booking.

    ReplyDelete
  46. Hello! I think these information Will be helpful for you.

    oideyo.cc
    tibiafriends.com
    Thank you!

    ReplyDelete
  47. 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
  48. If you are thinking to save money on the tickets of eva airlines tickets then choosing the deals is really an amazing choice for you through which you can book the flight tickets in a cheap cost for the journey online. These deals available at the eva airlines flights for the passengers of the United States.

    ReplyDelete
  49. 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
  50. 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
  51. 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
  52. 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
  53. We are offering the cheapest flights booking deals on the Spirit Airlines Reservations. Therefore, if you also want to book your flights tickets for this airline then choose our website because we are always trying to save your travel cost with our deals. To know about these deals you can also visit the Spirit Airlines Official Site.

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

    ReplyDelete
  55. 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
  56. 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
  57. Spirit Airlines is one of the leading airlines in the world. When you are thinking to book cheap air tickets for your journey then you must select Spirit Airlines Reservations from our website. The Spirit Airlines Phone Number helps you to assist you in the online flight booking of Spirit Airlines.

    ReplyDelete
  58. 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
  59. 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
  60. 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

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

    my website - 부산오피

    ReplyDelete
  62. 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


  63. 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
  64. 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
  65. Looking for the Lowest Brokerage Charges in India? Here is a list of top stock brokers that offer the lowest brokerage, Read & Compare their charges. To get the lowest brokerage Charges in India offered by stock brokers, it is first necessary to understand the two basic classifications of brokers in India.

    ReplyDelete