Microsoft on Tuesday vowed it would be carbon neutral in the fiscal year starting July.