Preheat oven to 400°F. Line a baking sheet with foil.
In a bowl, mix ras el hanout, garlic powder, salt, pepper, and coconut oil into a paste.
Pat chicken dry and coat with the paste.
Arrange on baking sheet. Cover with foil and bake for 30 mins.
Remove foil, bake 15–20 more mins, until golden and 165°F inside.