Log into https://onedrive.live.com/about/en-us/
Click on username at the top right hand conerner of the window.
Click Account Settings
Under Security & Privacy click Change Password.
Choose how to recieve the code
Then input the code and put in new password.
Tags: OneDrive