Microsoft’s second-quarter revenue beats expectations, and its share price is up more than 2% after the session.

Microsoft’s second-quarter revenue was $36.91 billion, up 14 percent from a year earlier, and analysts had expected $35.7 billion. Earnings per share of $1.51 in the second quarter were $1.08 a year earlier, compared with an analyst estimate of $1.32. Smart Cloud revenue in the second quarter was $11.87 billion, up 27 percent from a year earlier, with analysts estimating $11.43 billion.

Microsoft's second-quarter revenue beats expectations, and its share price is up more than 2% after the session.

Revenue from other personal calculations in the second quarter was $13.21 billion, up 1.7 percent from a year earlier, with analysts’ estimates of $12.91 billion.

“The strong execution of our sales team and partners brought commercial cloud revenue to $12.5 billion, up 39 percent from a year earlier,” said Amy Hood, Executive Vice President and Chief Financial Officer of Microsoft.

In addition, Microsoft returned $8.5 billion to shareholders in the second quarter of fiscal 2020 in the form of share buybacks and dividends.

Microsoft rose more than 2 percent after Wednesday’s U.S. stock market after the results.