I've lost my contacts after upgrading to windows 10 mobile on my Lumia 640 XL, and after 2 days of search found this solution on a forum that worked for me:
1. Go to your microsoft account via browser and add an alias account: your info> manage your sign-in email or phone number> Add email>...