Moroccan DAC validate licences when you are in the process of being employed.
The "CN" (name of foreign licence validation) requires a flight test and would be limited to an employer and his fleet.
Sometimes a Moroccan Airlaw course is required!
The employer would take care of all the administrative headache, but it can take months.
Everything can be found on the Moroccan civil aviation website...in french.
Good Luck