Microsoft said Thursday it made a profit of $4.97 billion in the past quarter, helped by growing revenues from business services, offsetting the hit from a lagging market in personal computers.

Chief financial officer Amy Hood said results "were impacted by the decline in the PC market," but added that "we continue to see strong demand for our enterprise and cloud offerings, resulting in a record unearned revenue balance this quarter."