EXCLUSIVE: Olivia Munn Reveals Her Secret Connection With Jennifer Aniston's Husband, Justin Theroux

This video is unavailable because we were unable to load a message from our sponsors.

If you are using ad-blocking software, please disable it and reload the page.

Olivia Munn gave ET a behind-the-scenes tour of the Office Christmas Party set, where she dished on the previous connection she shared with co-star Jennifer Aniston.

Before Aniston married Justin Theroux in Bel-Air last year, the actor was giving dating tips to Munn in New York. The two were drinking buddies when Munn worked as a correspondent on The Daily Show in 2010.

WATCH: Jennifer Aniston Dishes on Her Grinch-Like Character in 'Office Christmas Party'

"He'd be like, 'This guy. Stay away from that guy,'" said Munn, who is currently dating Green Bay Packers quarterback Aaron Rodgers. "He does like Aaron."

Aniston reteams with her Horrible Bosses co-star Jason Bateman for Office Christmas Party, but this time they are accompanied by comedy all-stars Kate McKinnon, Olivia Munn, T.J. Miller, Vanessa Bayer, Courtney B. Vance, Rob Corddry and Sam Richardson.

In the movie, when a CEO (Aniston) tries to close the branch run by her hard-partying brother (Miller), he and his Chief Technical Officer (Bateman) rally their co-workers and host an epic office Christmas party in an effort to impress a potential client who could save their jobs.

WATCH: Aaron Rodgers and Olivia Munn Step Out in Style Amid Reports of Family Drama With Estranged Brother Jordan

While the purpose of the shindig is to keep the branch afloat, everyone uses the party to serve their own personal goals. Richardson is a guy from legal itching to show off his skills as a DJ, Bayer is an executive assistant looking for love, and McKinnon needs to satiate her obsession with the holidays, to hilarious results.

Office Christmas Party hits theaters Dec. 9.