You must change your password before logging on the first time.
This happens when we try to login to remote desktop or server and the user attribute is set to change password in next login. Case 1: If you are using older version RDP Client you will get following error. Case 2: If you are using update version remote desktop client you will get following Prompt to change the password before login forcefully.