Microsoft employs a lot of lifers who have no idea how good tooling is on the outside.
The decline happened after they fired off their SDETs and turned their customers into testers. The hyperfocus on cloud didn't help. Neither did the move towards clunky Electron apps, instead of first-class Windows applications.
Lifers may be there still, but they have to march to the beat of the stock market.