Microsoft Corp on Thursday posted quarterly profit and revenue that beat analysts’ estimates, as more businesses signed up for its Azure cloud computing services and Office 365 productivity suite.