{"id":362,"date":"2018-11-06T15:49:06","date_gmt":"2018-11-06T15:49:06","guid":{"rendered":"http:\/\/www.torontohelpdesk.ca\/blog\/?p=362"},"modified":"2018-11-06T15:49:06","modified_gmt":"2018-11-06T15:49:06","slug":"office-365-password-policy","status":"publish","type":"post","link":"https:\/\/www.torontohelpdesk.ca\/blog\/office-365-password-policy\/","title":{"rendered":"Office 365 &#8211; Password Policy"},"content":{"rendered":"<p><strong>Problem: <\/strong><\/p>\n<p>You set the password expiration policy for everyone to &#8220;never expire&#8221; but the passwords still expire.<\/p>\n<p><strong>Solution:<\/strong><\/p>\n<p><em>(h\/t Natalie R.)<\/em><\/p>\n<p><em>Connect to Office 365 and check the password policy status:<br \/>\n<\/em>Connect-MsolService<br \/>\nGet-MsolUser | Sort-Object DisplayName | ft DisplayName, PasswordNeverExpires<\/p>\n<p><em>Change the password policy status:<br \/>\n<\/em>Get-MsolUser \u2013UserPrincipalName &lt;username&gt; | Set-MsolUser \u2013PasswordNeverExpires $True<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Problem: You set the password expiration policy for everyone to &#8220;never expire&#8221; but the passwords still expire. Solution: (h\/t Natalie R.) Connect to Office 365 and check the password policy status: Connect-MsolService Get-MsolUser | Sort-Object DisplayName | ft DisplayName, PasswordNeverExpires <a class=\"more-link\" href=\"https:\/\/www.torontohelpdesk.ca\/blog\/office-365-password-policy\/\">Continue reading <span class=\"screen-reader-text\">  Office 365 &#8211; Password Policy<\/span><span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[64],"tags":[],"class_list":["post-362","post","type-post","status-publish","format-standard","hentry","category-office-365"],"_links":{"self":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts\/362","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/comments?post=362"}],"version-history":[{"count":1,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts\/362\/revisions"}],"predecessor-version":[{"id":363,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/posts\/362\/revisions\/363"}],"wp:attachment":[{"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/media?parent=362"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/categories?post=362"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.torontohelpdesk.ca\/blog\/wp-json\/wp\/v2\/tags?post=362"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}