How to set non-expiring passwords for Office 365 users

OK, so this post is more of a public note-to-self.