There's no way that Microsoft didn't spend a lot of time derisking this with lawyers internally before release. This will be interesting to see play out but my bet is that it'll take 5+ years to get a result.
I'm not a lawyer but I think MS will win quite easily.
I would assume this was anticipated.