Someone has to do the testing, and Microsoft tests in production.
In 2014 Microsoft cancelled the dedicated SDET (Software Development Engineer in Test) role, triggering significant layoffs.