The results reflect Chief Executive Officer Satya Nadella’s efforts to draw some customers away from cloud market leader Amazon.com Inc. and ink more significant clients. Microsoft also is benefiting as more traditional companies that are longtime customers move to the cloud.