Note:
Some users can’t change their password in Microsoft 365 because their organization creates and maintains their accounts. If you don’t see a link to change your password on the Password page, you can’t change your work account password in Office 365.