Does Msft have frequent layoff ?
Is it a good option to join Msft ( I have heard they have a lot of internal politics )
Layoffs have happened for good reason realigning with the company core business : doing software, with the best of breed techniques. As such, software test execution became obsolete, so later did software engineers in test, then infrastructure engineers (outside azure data centers), more recently operation engineers, or whatever was the discipline name for pseudo PMs with no understanding of programming. As said above, if you are a software engineer you are fine because software is what Microsoft does.