Under Satya, Microsoft went on a shopping spree. They bought a ton of startups: Minecraft, Github, Skype, Sunrise, LinkedIn (tnx comments!), Yammer ... and along with those it bought a mapping company, a multitude of ad/marketing companies, educational startups, AI startups...etc, etc. Those are just the ones we know about.
Update: here's a list of all MS acquisitions. It's rather lengthly. https://en.wikipedia.org/wiki/List_of_mergers_and_acquisitio...
Did you know they almost bought Twitch.tv, but Amazon had more money?
And as far as locking them in the same building, that's not exactly operationally efficient in 2018. But they seemed to have done their best at either merging the products right away, or letting the team run on their own.
So, they did pretty well, according to the plan.