I have been there… I’ve gone through the process of opening a company in Morocco and applying for residency permit. I’ve delat with complicated paperwork, gone to all public institutions, managed my banking, found an accountant.
If you want to open a business in Morocco you’ll eventually need someone’s help as nothing is clear and straight forward. I’ve written a step-by-step guide and you can purchase it here. In the same article you’ll also find lot of info about how too start the process. Read it carefully.
If you want a reliable accountant to open a company for you (and save lot of time, nerves and bribes) just drop me an email and I’ll put you in touch with a trustworthy, English-speaking accountant.