HONG KONG—China ordered app-store operators to remove the app of ride-hailing giant Didi Global Inc.’s China arm, saying it has serious problems involving illegal collection of personal data.

The Cyberspace Administration of China also ordered Didi Chuxing, the company’s China business, to address the issues according to relevant Chinese standards and to ensure the safety of the personal information of users.

Beijing’s latest order comes just two days after regulators blocked the company from adding new users as regulators reviewed the company’s cybersecurity.

Didi said current users who had already downloaded the app wouldn’t be affected by the move.

“We sincerely thank the responsible departments for guiding Didi to look into the risks,” Didi said in a statement posted on Weibo, a Twitter -like platform. Didi also promised to “conscientiously rectify” the issues.