Preheat your oven to 400°F (200°C).
In a small bowl, mix the maple syrup, garlic powder, salt, and pepper.
Place the chicken thighs in a large baking dish and pour the glaze over them.
Chop the sweet potatoes into uniform cubes and add them to the dish.
Drizzle olive oil and sprinkle rosemary over the sweet potatoes, then toss everything together.
Roast in the preheated oven for about 35–40 minutes.
Check the internal temperature of the chicken; it should reach 165°F (75°C).
Once cooked, allow the dish to rest for 5 minutes before serving.