The Ugandan team opened the scoring in the 26th minute through Ibrahim Orit, before the Moroccans equalized in the additional time of the first half thanks to a penalty by Ayoub El Kaabi.
Sofiane Rahimi gave the national team the advantage at the start of the first period (51st), before Hamza Moussaoui added to the score (71st). Nine minutes later, Sofiane Rahimi scored the 4th goal for the national team.
Abdelilah El Hafidi scored the 5th Moroccan goal.
Morocco is at the top of its group with 7 points, obtained in two victories and a draw. It is followed by Rwanda (5 points), which validated its ticket for the next round at the expense of Togo (3-2).