Manchester City will face Romanian side Steaua Bucharest in the Champions League play-off round.
Scottish champions Celtic will meet Israeli side Hapoel Beer Sheva while Irish champions Dundalk have been drawn against Poland’s Legia Warsaw.
Celtic beat Kazak side FC Astana in the third qualifying round, while Dundalk were 3-0 victors over Belarusian side Bate Borisov.
The two-legged play-off ties will be held on the 16/17 and 23/24 August.
New City boss Pep Guardiola has won the Champions League twice as a manager – with Barcelona in 2009 and 2011.
The Spaniard has lost in the semi-finals of the competition in each of the past four seasons, once with Barca and three times with Bayern Munich.
City are looking to compete in the group stages of the competition for the sixth successive season.
Steaua, who won the European Cup in 1986 and were runners-up in 1989, finished second to Astra Giurgiu in the Romanian top flight.
City sporting director Txiki Begiristain said: “It’s going to be a difficult tie because Steaua are on the up again in Europe and have a lot of talent.”
Elsewhere, 2004 winners Porto face a tough tie against Italian side Roma, and 1995 winners Ajax will play Russian side Rostov.
The winners of the ties will progress to the Champions League group stage while the losers will drop into the Europa League.