The Morocco overcame a anxious start to overcome their island opponents in the tournament's opening game on the weekend, with goals from the Real Madrid attacker and substitute El Kaabi in the latter period.
This constituted a less than dominant display, though, from the heavily tipped hosts, who are ranked 97 places above the tiny island nation in the world rankings and were forced to toil hard for the three points in wet conditions at Rabat's national stadium.
Morocco failed to convert an early penalty and were goalless at half-time despite dominating possession, finally breaking the deadlock in the 55th minute.
It arrived after full-back Mazraoui did well to prevent the ball from going out before laying it across for Brahim Díaz to sidefoot home.
Every first match is never easy but we delivered in the second period,” said manager Walid Regragui.
The tension was then calmed by a moment of pure individual brilliance from Ayoub El Kaabi. Only 10 minutes after his introduction, the forward met a cross with a spectacular overhead kick in the 74th minute, making it two and ensuring the result.
Before that, the hosts could have been ahead in the 11th minute after a spot-kick was given for a foul on Brahim Díaz. However, Soufiane Rahimi effort was kept out by keeper Pandor.
The underdogs stoutly defended against Morocco at bay before the hosts' superior firepower in the end told.
Goalkeeper Pandor pulled off several further fine saves to keep down the scoreline as the game progressed, even though his team created a chance for an equaliser shortly following Díaz's goal, with Rafiki Saïd firing straight at keeper Bounou.
The victory was somewhat overshadowed by an injury to the captain, Saïss, who limped off after the first half apparently in tears.
This defender had just made his comeback to the international setup recently following a lengthy absence due to ankle surgery.
The win extends Morocco's historic run of successive wins to 19, surpassing the old record of 15 set by the Spanish national team between 2008 and 2009.
Tech enthusiast and writer with a passion for exploring emerging technologies and sharing practical advice for everyday users.