Morocco punched its ticket to the quarterfinals of the U17 Africa Cup of Nations on Sunday, securing a spot in the upcoming FIFA U17 World Cup in Qatar with a 3-0 win over Tanzania in Group A play.