Holder Real Madrid will face Borussia Dortmund and Tottenham Hotspur in the Champions League group stage while five-time winner Barcelona were drawn with last season's runners-up Juventus on Thursday.
Zinedine Zidane's side are chasing a third successive European title and fourth in five seasons after demolishing Italian champion Juve 4-1 in Cardiff in June.
The record 12-time European champion will also take on APOEL of Cyprus in a testing Group H.
World record signing Neymar and Paris Saint-Germain were paired alongside Bayern Munich, with Scottish champion Celtic and Belgian outfit Anderlecht completing the line-up in Group B.
Chelsea, one of a record five English teams to qualify for the group phase, will meet Atletico Madrid in Group C as well as Roma and Qarabag, the first side from Azerbaijan to reach this stage of the competition.
Benfica, Man Utd, Basel, CSKA
Bayern, PSG, Anderlecht, Celtic
Chelsea, Atletico, Roma, Qarabag
Juventus, Barcelona, Olympiakos, Sporting
Spartak, Sevilla, Liverpool, Maribor
Shakhtar, Man City, Napoli, Feyenoord
Monaco, Porto, Besiktas, Leipzig
Real, Dortmund, Tottenham, Apoel