You need a visa for Tanzania if you have a Moroccan passport
Visa options for Tanzania (2)
Visa on arrival for a maximum of 90 days
Travelers need a visa to visit Tanzania for Business or Tourism. Travelers can get a visa on arrival in Tanzania at the port of entry, such as an international airport or border crossing.
This is not offered by sherpa°.
Apply on the government site.