Microsoft beats on the top and bottom line with better-than-expected operating income