Mac users use the same process the students use to reset their passwords.

https://support.universityprep.org/support/solutions/articles/1000030314

Once you have reset your password in Office 365 go to system preferences > users > reset your local mac user account password to match what you set in Office 365.