What is the error you get?
If it is the username or password is not accepted, it is because Microsoft no longer allow login using the username and password.