Microsoft Corp beat Wall Street estimates for quarterly profit and revenue on Wednesday, powered by a surprise boost in Windows revenue and as growth in its cloud business stayed on track.