Microsoft Corp (MSFT.O) reported higher-than-expected quarterly revenue, helped by stronger sales of its phones, Surface tablets and cloud-computing products for companies, while keeping its profit margins largely intact. The results on Thursday allayed fears of investors in recent days that the industry shift toward lower-margin cloud services was proving hard for established technology leaders to master. Microsoft shares, which have climbed 33 percent over the past year, rose another 3 percent in after-hours trading to $46.36.