Serge Aurier had the best chance to score for Ivory Coast in the second half, but he skied his shot over the bar, and Morocco maintained their record of not conceding a single goal in the six games in CAF qualifying Group C.
Tunisia qualified for the 2018 World Cup in Russian Federation despite being held 0-0 at home by Libya in their final Group A qualifier. If it qualified for the Russia World Cup, this would have been its fourth consecutive participation in FIFA's flagship tournament.
Libya avoided last place in the group with the draw as they advanced to four points with Guinea staying on three.
It will be Tunisia's first World Cup involvement since 2006 in Germany, and they join Morocco, Egypt, Senegal and Nigeria as Africa's five representatives in Russian Federation.
The more industrious Moroccans caused more problems for their hosts five minutes later when Benatia slotted home Mbark Boussoufa's corner into the next to send the home fans into anguish, as the Lions sealed a first World Cup ticket since 1998.
Disneyland Decontaminates Cooling Towers Linked To Legionnaire's Disease Outbreak
Concern over a recent Legionnaire's disease outbreak in Orange County has prompted The Happiest Place on Earth® to take action. One person "with additional health issues" died and was not among those who visited the theme park, the Times reported .
Needing just a point at home to already-eliminated Libya to assure their progression, they labored to a goalless draw.
In the 1990 World Cup UAE and Egypt qualified, in the 1994 World Cup Saudi Arabia and Morocco participated and in the 1998 World Cup in Morocco, Saudi Arabia and Tunisia were there. But it was the Moroccans who got the breakthrough when Nabil Dirar's cross evaded everyone and found its way it to the net.
Tunisia's point ensures their fifth World Cup participation - and their first since 2006 - but ensures that the Democratic Republic of Congo's wait to return to the global showpiece for the first time since 1974 will continue.
DR Congo scored twice in stoppage time through Jonathan Bolingi and Neeskens Kebano to defeat Guinea 3-1 in Kinshasa.