.. I'm on Microsoft's side on this issue. Nothing to do with "Them furriners takin' our jobs." But consider the fact that MS has (and is) pursuing a lot of government business. Some Defense Department, NSA, and even some combination of letters which must not be spoken. And what happens when they get a contract? They have to provide secure facilities and exclude all foreign nationals and uncleared personnel. Think about the implications of trying to collect this information after the fact vs putting it in the HR database at hiring time.
Been there, done that. In a smaller organization, it's damned near imposible. You have to break up teams and lease some off site office space to move all the non cleared people. What might start out as a commercial product may not be offerable to various gov't entities if we can't document the personel involved in its conception.