Preheat your oven to 350°F (175°C). Grease a 9x13 inch baking dish.
In a large skillet, melt butter over medium heat. Add diced onion and cook until translucent, about 5 minutes.
Stir in minced garlic and cook for 1 more minute.
Sprinkle in flour and cook for 2 minutes, stirring constantly.
Gradually whisk in chicken broth and heavy cream until smooth. Bring to a simmer and cook until thickened, about 5 minutes.
Remove from heat and stir in sour cream, salt, pepper, garlic powder, onion powder, and smoked paprika.
In a large bowl, combine cooked spaghetti, shredded chicken, mozzarella, and the sauce. Mix well.
Transfer mixture into the prepared baking dish. Sprinkle with parmesan cheese.
Bake uncovered for 25-30 minutes, until bubbly and golden on top.
Garnish with fresh parsley before serving.