There are also Firefox extensions that let you set a custom user agent. It might make you easier to fingerprint (unusual combination of user agent and browser features means very very high uniqueness), but it will allow you to bypass buggy user agent checks if needed.
Although of course an even better solution is to complain and get MS to fix their shit. This was almost certainly someone not realizing they should feature test instead of checking a UA.