Liverpool will take on Hoffenheim in the play-off round of the Champions League.
Jurgen Klopp's side will battle the Bundesliga club for the right to take a place in the 2017-8 group stage.
Maurizio Sarri's Napoli face a fascinating tie against Ligue 1 side Nice, meaning striker Mario Balotelli will be faced with a return to Italian soil.
Sevilla have been handed a clash with Istanbul Basaksehir, while CSKA Moscow meet Young Boys of Switzerland and Sporting CP take on Steaua Bucharest.
Scottish champions Celtic will meet Kazakhstan side Astana, with the first leg to be played in Glasgow.
Olympiacos will meet Rijeka of Croatia, while Czech Republic champions Slavia Prague must face APOEL of Cyprus.
The first legs will be played on August 15-16 and the return matches on August 22-23.
Draw for the UEFA Champions League play-off round
Qarabag (AZE) v FC Copenhagen (DEN)
APOEL (CYP) v Slavia Prague (CZE)
Olympiacos (GRE) v Rijeka (CRO)
Celtic (SCO) v Astana (KAZ)
Hapoel Beer-Sheva (ISR) v Maribor (SLO)
Istanbul Basaksehir (TUR) v Sevilla (ESP)
Young Boys (SUI) v CSKA Moscow (RUS)
Napoli (ITA) v Nice (FRA)
Hoffenheim (GER) v Liverpool (ENG)
Sporting (POR) v FCSB (ROM)