Microsoft has reported a 3.6 percent rise in fiscal second-quarter profit, helped by growth in its fast-growing cloud computing business, but it saw a slight decline in margins in the unit that includes its flagship cloud platform Azure.
Shares of the world's biggest software company were up about 1.1 percent in after-hours trading.
Since taking charge in 2014, Chief Executive Satya Nadella has steered the company toward cloud services and mobile applications and away from its slowing traditional software business.
Gross margins for Microsoft's so-called "commercial cloud" business, which includes Azure and versions of its online Office 365 product sold to businesses, were 48 percent, said Chris Suh, head of Microsoft's investor relations.
That is down from last quarter's 49 percent but up from 46 percent a year ago, Suh said.
The figure is watched closely by investors as a sign of the actual profit made of Microsoft's cloud products, which the company does not publish.
The Azure platform competes with cloud infrastructure offerings from market leader Amazon, Google, IBM and Oracle.
"We're not at Amazon's margin today," said Suh. "Their infrastructure business is much larger. They have the benefit of scale. We track more like what Amazon was when they were closer to our size."
On the company's earnings conference call, chief financial officer Amy Hood fielded questions from analysts about Azure-specific gross margins. She did not disclose a number but said there was a "material improvement" since last quarter.
Analysts also questioned Microsoft's practice of providing a combined gross margin for cloud infrastructure, which at other firms tends to have gross margins around 30 percent, and cloud software, which at other firms has higher margins of 70 percent or 75 percent. "I do think it will be a blend of those," Hood said.
But CEO Nadella emphasised that the company thinks of its cloud offerings as comprehensive lineup of both software and infrastructure, as it did with its historical business as a combination of products with different margins, like Office and Windows Server.
"We have a cloud strategy that is not just about infrastructure," Nadella said, pointing out differences with Amazon Web Services.
Revenue from Microsoft's 'Intelligent Cloud' business, which includes Azure, along with other data centre software, rose 8.0 percent to US$6.9 billion in the quarter.
That beat analysts' average estimate of US$6.73 billion, according to research firm FactSet StreetAccount. Microsoft's estimates for next quarter were US$6.45 billion to US$6.65 billion, only slightly hire than FactSet's US$6.61 billion estimate.
In constant currency, Azure's revenue grew 94 percent year over year, a good pace but still the lowest growth rate since Microsoft began disclosing the number in 2015, and down from 121 percent the previous quarter.
"In general, as long as it's close to doubling right now, that's extremely solid performance given the business is getting big from an overall standpoint," said Cross Research analyst Shannon Cross.
Sales of Office 365 to businesses rose 49 percent, down from 54 percent in the previous quarter. As with Azure, Microsoft does not give an absolute dollar figure for Office 365 sales.
Sales in Microsoft's personal computing business, which includes its Windows software, once the bedrock of the company, fell 5.0 percent to US$11.8 billion, slightly beating the rate at which personal computer sales fell in the quarter.