How to export from Microsoft MyPhone to CSV for Gmail
I know this post is quite old but I thought I'd post my solution here to save others time. It took me quite a while to get the CSV format right but it works.
First goto the myphone contacts page and right click-> view source.
Just up from the bottom of the source, you will find all the contact details wrapped in some ugly JavaScript. Copy it into a new text file (I used Notepad).
Repeat this for all the pages of your contacts.
At the very start of the text file, add this line:
Name,Mobile Phone,Home Phone,Other Phone,E-mail Address,E-mail 2 Address
It can be edited to whatever fields you want but these map perfectly into your gmail contacts. There isnt any very good documentation on which fields to use so it's trial and error.
Now go through and edit out all the JavaScript so you're left with just the data. I used Find/Replace to remove a lot of it then went through and tidied it all up manually, adding in the commas and sorting it into the correct order for the fields above. Its a long process but is easier than manually re-entering everything.
Go through and check it's all correct and the comma's are all in the right place. Each contact entry should be a new line and don't leave blank lines.
Save your file. You can now open it in a spreadsheet program to check all the fields line up correctly.
Now try it - goto your Gmail contacts and click "More Actions" -> "Import". Select your CSV file. I recommend adding them to an empty group so its easy to check them and delete them if it doesn't work correctly.
Click Import. Now go through and check them. If its not quite correct, delete them and try again. If you find certain details end up in the Notes field then it means you've used an incorrect field name.
I'm sure someone can write a nice script to do this all but I really don't have the time at the moment and I've already done it manually.
Hope this helps and Microsoft..... you should really have an export option!