I don't know what you mean by China "getting rid of Microsoft" in the context of cloud providers. I mean, Azure is already present in China's internet, and just like any cloud provider present in China it's presence is a partnership with local cloud providers.
Russia is getting rid of Microsoft not because it has a choice. They are subjected to sanctions due to their invasion of Ukraine, and that essentially cut their access to all tech services. By that measuring stick, Russia is also getting rid of Boeing and Airbus.