Wydad Casablanca and Al-Ain complete Man City's group, while Chelsea will also face group-stage matches against Leon from Mexico and Tunisia's Esperance de Tunis.
Elsewhere, PSG have been drawn with Atletico Madrid in Group B, while Bayern Munich drew Portugal's Benfica and Boca Juniors. Real Madrid are alongside Red Bull Salzburg in their group, while Inter Milan will face River Plate in their bid to make the knockouts.
The Club World Cup will take place in the United States next summer, with the opening game taking place in Miami on 15 June - between Lionel Messi's Inter Miami and Al-Ahly - and the final to be played on 13 July in New Jersey.
Each team will play their group opponents once in a round-robin format, with the top two teams from each group progressing to the knockout stages, which starts with the last-16 ties.
Group A
Palmeiras
Porto
Al-Ahly
Inter Miami
Group B
PSG
Atletico Madrid
Group C
Bayern Munich
Boca Juniors
Benfica
Group D
Flamengo
Esperance de Tunis
Chelsea
Leon
Group E
River Plate
Urawa Red Diamonds
Inter Milan
Group F
Fluminense
Ulsan Hyundai
Mamelodi Sundowns
Group G
Manchester City
Wydad Casablanca
Al-Ain
Group H
Real Madrid
Pachuca
Red Bull Salzburg
Venues
Mercedes-Benz Stadium (Atlanta)
TQL Stadium (Cincinnati)
Bank of America Stadium (Charlotte)
Rose Bowl Stadium (Los Angeles)
Hard Rock Stadium (Miami)
GEODIS Park (Nashville)
MetLife Stadium (New Jersey)
Camping World Stadium (Orlando)
Inter&Co Stadium (Orlando)
Lincoln Financial Field (Philadelphia)
Lumen Field (Seattle)
Audi Field (Washington)