For a detailed overview, refer to What is a Microsoft account?
The first Microsoft account added to the device (e.g. Outlook, Live, MSN, etc.) becomes the primary account and can only be changed or removed by performing a factory data reset. If you have multiple accounts, you need to decide which one to sign in to first.