Due to the cancellation of Morocco being hosts of the 2015 edition, the national team of Morocco were originally banned by the Confederation of African Football (CAF) to enter the 2017 and 2019 Africa Cups of Nations. However, the ban was overturned by the Court of Arbitration for Sport, allowing Morocco to enter the tournament.