In a note to employees, CEO Satya Nadella attempted to address the divergent outlook for different parts of the business.
Nadella said the layoffs, affecting less than 5% of Microsoft's workforce, would conclude by the end of March, with notifications beginning Wednesday.
Along with Amazon, Facebook parent Meta Platforms Inc (META.O) announced cuts of 11,000 jobs, while cloud-based software company Salesforce Inc (CRM.N) said it would cut 10% of its 80,000-member workforce.
Under U.S. law, most employers are required to report staff cuts affecting 50 or more workers at a single location.
But growth dropped to 35% in the first fiscal quarter of 2023, and the company projects more declines to come.