Company recorded a $13.8 billion charge related to changes in U.S. tax law

Microsoft Corp. took a $13.8 billion charge related to the new U.S. tax law but reported significant growth in its cloud operations, the business fueling the company’s resurgence.

Microsoft keeps overseas the vast majority of its cash, which rose to $142.8 billion in the quarter. In an interview, Chief Financial Officer Amy Hood declined to say when the company might bring home some of that money.