Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
When I change a Microsoft account, on the new one, do I lose all the apps that I bought with the previous account?
Yes. Your purchases are tied to your Microsoft Account, so if you reset the phone, and set up with a different account, your purchased content/apps/etc. would be lost.