Microsoft skids as Q4 results miss expectations, Windows hit by China shutdown
coldsnowstorm/iStock Unreleased via Getty Images

Microsoft (NASDAQ:MSFT) fell in after-hours trading after the tech giant posted fourth-quarter results that missed expectations and said Windows revenue was impacted by more than $300M.
For the period ending June 30, Microsoft earned $2.23 per share on $51.9B in revenue, up 12% year-over-year, the slowest growth in two years.
The Redmond, Washington-based Microsoft (MSFT) generated $25B in commercial cloud related revenue. Other segments, including Productivity and More Personal Computing, which houses Windows, accounted for $16.6B and $14.36B in revenue, respectively. 
Intelligent Cloud, which houses Azure, generated $20.9B in revenue, up 20% year-over-year. Azure was of particular note for Microsoft (MSFT), as revenue grew 40% year-over-year, or 46% in constant currency, the company said. 
Microsoft (MSFT) said results were impacted by $595M worth of foreign exchange headwinds, more than what it told investors last month when it said it had a $460M impact from foreign exchange headwinds.
In addition, Windows-related revenue was impacted by $300M due to China's COVID-related shutdown earlier this year.
The company returned $12.4B to shareholders via buybacks and dividends during the quarter, up 19% year-over-year. 
Microsoft (MSFT) will hold a conference call at 5:30 p.m. EST to discuss the results.
Earlier this month, UBS listed Microsoft (MSFT) as one of its favorite investment ideas.