MS does sell ads, they have an advertising platform.
Incidentally, this sort of proves the point that Google's ownership of platforms where ads are displayed puts them at an advantage compared to competitors, who have to go to people like MS for space.