Call me sexist but for female pilots I prefer no beards...
Seriously. My Father, a pilot for 33 years for Finnair, had a beard most of his career.
Some Airlines will tell you NO. Some don't care. I really do not see any difference as long as your beard is well groomed. I do not have one ( Usually ). Use of O2 mask is not a problem or not that I have heard of.