Microsoft does a lot of its programming in India.
How much is 'a lot'? What %?
We all know that Indian programming is of poor quality, and the reason is not because Indian programmers are much less competent. It has more to do with the fact that in programming if two parties can't communicate completely unambiguously in one language then they have no hope of writing good software.
So that's a problem only with Indians? Not Chinese? Australians? Romanians? Turks? Russians? Nigerians?
If you hire those who can communicate well, where they came from is unimportant.