My friend works for a company which requires her to use Microsoft specific application
So the company needs to provide said friend with all the needed software.
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
My friend works for a company which requires her to use Microsoft specific application
So the company needs to provide said friend with all the needed software.
Maybe ask the company if they can get you an O365-Account, so you can just use the web version of it or install that as webapp.
Sorry to say, but employees cost so much money in salary, those few bucks for software licenses are just minor.
Can they find out?
No, not really. The Metadata doesn't have a "pirated" flag and something like the product key doesn't get saved. Microsoft themselves probably know due to their telemetry but even they can't be bothered about it. I would bet that even you send a pirated document to the Microsoft CEO, they wouldn't notice or even care enough to look for it.
But as always there is the important rule of "don't fuck with work stuff, ever".
It's already questionable why she is editing company documents on here private PC without either a dedicated and remotely managed work particition + VPN or an O365 online work account. These documents fall under far stricter data safety regulations and the way it is right now, she is personally liable for any data leaks.