Disable Password Policy
Please login as Admin user to change this settings.
Login office 365
Go to “Admin”
Open “Settings > Security & Privacy”
Click the “Edit” button next to “Password policy”
Change the “Set user passwords to never expire” to “On”
Click “Save”