Microsoft has posted earnings and revenue that beat Wall Street expectations in Satya Nadella's first quarterly earnings release as chief executive, offering new justification for his focus on cloud computing.
Factoring out special items from a year ago, revenue in the January-March quarter grew 8%.
Mr Nadella, who replaced long-time CEO Steve Ballmer in February, said the quarter's results "demonstrate the strength of our business, as well as the opportunities we see in a mobile-first, cloud-first world".
"It's a good first quarter of earnings for Satya out of the box," said analyst Shannon Cross of Cross Research. "This was enough to offset concerns that investors might have had that growth was slowing or the impact Amazon or other competitors might be having on the cloud strategy."
The company also benefited from the end of support for its 13-year-old operating system, Windows XP, on April 8. Many companies upgraded computers en masse to make sure they would continue to receive support from Microsoft, including anti-virus updates.
That transition - which helped boost Windows revenue by 4% - helped Microsoft buck a 2-4% decline in shipments in the quarter as estimated by market research firms Gartner and IDC.
Chris Suh, Microsoft's general manager of investor relations, said it was hard to tell how much Windows revenue benefited from the end of XP. But he said about 10% of all Windows computers were still running XP, meaning the company would probably continue to benefit going forward.
"It's probably not done. There's a bit of a long tail that will drag out over a long period of time," he said.
Overall, Microsoft posted flat revenue and a decline in net income for the January-March quarter.
Revenue gains from its Windows operating system and cloud computing services like Azure were offset by the lack of special upgrade offer revenues from a year ago.
Revenue from devices and consumer products rose 12% to 8.30 billion dollars (£4.9bn) as the company sold more Xbox One game consoles and consumers upgraded systems from Windows XP, for which Microsoft ended support earlier this month.
Commercial revenue grew 7% to 12.23 billion dollars (£7.2bn), as revenue grew from its Office 365 productivity software. Azure revenue more than doubled.
Total revenue gains of 1.7 billion dollars from various segments were offset by a 1.8 billion-dollar decline in upgrade offers revenue and other items.