Halilhodzic named a 25 man squad with the definitive list being revealed on December 30.
However, it appears highly unlikely Ziyech will gain a last minute reprieve for the biennial Africa football showpiece being hosted by Cameroon which runs from January 9 to February 6.
Ziyech and Halilhodzic have been at odds with each other since last summer after the veteran coach reproached him for his indiscipline.
"The cohesion of the squad is very fragile and bad behaviour could destabilise it," said Halilhodzic at a press conference.
"At the moment there is a good atmosphere and I will not allow anyone to ruin that."
Despite European clubs threatening to withhold their African players Halilhodzic has included several in his squad.
Among them are Paris Saint Germain winger Achraf Hakimi, forward Youssef En-Nesyri and Barcelona right wing Abdessamad Ezzalzouli.
Morocco begin their campaign against Ghana on January 10 and then have further group games against the Comoros (January 14) and Gabon (January 18).
Goalkeepers: Yassine Bounou (Sevilla/ESP), Munir El Kajoui (Hatayspor/TUR), Anas Zniti (Raja de Casablanca)
Defenders: Soufiane Chakla (Louvain/BEL), Samy Mmaee (Ferencváros/HUN), Ghanem Saïss (Wolverhampton/ENG), Nayef Aguerd (Rennes/FRA), Achraf Hakimi (PSG/FRA), Souffian El Karouani (Nijmegen/NED), Adam Massina (Watford/ENG), Sofiane Alakouch (Metz/FRA)
Midfielders: Fayçal Fajr (Sivasspor/TUR), Soufiane Amrabat (Fiorentina/ITA), Aymane Barkok (Eintracht Frankfurt/GER), Ilias Chair (Queens Park Rangers/ENG) Imran Louza (Watford/ENG), Azzedine Ounahi (Angers/FRA, Selim Amallah (Standard Liege/BEL)
Forwards: Soufiane Boufal (Angers/FRA), Munir Haddadi (Sevilla/ESP), Youssef En-Nesyri (Sevilla/ESP), Ryan Mmaee (Ferencvaros/HUN), Ayoub El Kaabi (Hatayspor/TUR), Zakaria Boukhlal (AZ Alkmaar/NED), Abdessamad Ezzalzouli (Barcelona/ESP)