US software giant Microsoft Corp (NASDAQ:MSFT) on Tuesday said it has completed its first renewable energy deal in India with an agreement to purchase 3 MW of solar power from Atria Power.