All four sides in Group B were tied on three points going into the last matches, but Javier Mascherano's Argentina qualified by beating Ukraine 2-0 in Lyon while Morocco eased through with a 3-0 victory against Iraq in Nice.
Real Madrid winger Brahim Diaz was on Wednesday named in Morocco's squad after deciding to represent the North African team rather than Spain.
Morocco join defending champions Senegal, Tunisia, Algeria, Cameroon and Burkina Faso as teams ranked among the top 10 in Africa heading home early.
Shock 2022 World Cup semi-finalists Morocco cruised to a 3-0 win over 10-man Tanzania as they opened their Africa Cup of Nations campaign on Wednesday, while 2012 champions Zambia held the Democratic Republic of Congo.
Morocco, Spain and Portugal have been named hosts of the 2030 soccer World Cup, while Uruguay, Argentina and Paraguay will host the opening matches to mark the tournament's centenary, world soccer body FIFA said on Wednesday.
Survivors of Morocco’s deadliest earthquake in more than six decades struggled to find food, water and shelter yesterday as the search for the missing continued in remote villages and the death toll of more than 2,100 seemed likely to rise further.
Moroccan earthquake survivors huddled for a night in the open on the High Atlas Mountains on Saturday, a day after the country's deadliest quake in more than six decades killed more than 2,000 people and laid waste to villages
Morocco's deadliest earthquake in decades has killed more than 1,000 people, authorities said Saturday, as troops and emergency services scrambled to reach remote mountain villages where casualties are still feared trapped
Says Bangladesh Embassy in Rabat
Concert by the pop star Jennifer Lopez in Morocco has led to calls for the country's communication minister to resign, according to local media.
An eight-year-old boy has been smuggled to Spain from Morocco inside a suitcase, Spanish police say.
A bomb explodes at the gates of Moroccan embassy in the Libyan capital, Tripoli, security officials say, hours after two people were shot dead outside South Korea's embassy.