Morocco ran down the clock with tactical substitutions in the closing minutes as Renard master-minded the downfall of his former employers, who he helped win the 2015 Africa Cup of Nations. Morocco needed just a point from the game to qualify but made sure.
Tunisia survived some nervous moments in Rades as Libya finished strongly.
DR Congo defeated Guinea 3-1 but that did not matter as Tunisia had secured a point.
Ibenge's side will look back at their double header against the Tunisians, when they enjoyed the better of both contests but only took one point out of a possible six, as the reason why they will be watching on from the outside next summer.
After weathering an early storm, including a potential penalty call, Morocco scored two goals in the space of five minutes.