Preheat the oven to 350 degrees.
Fill a stock pot with water and generously season with 2 tbsp of salt. Bring the water to a boil over medium high heat.
In the baking dish you are using or a large mixing bowl, combine the milk, cream of mushroom soup, soy sauce, pepper and garlic powder. Whisk until combined and smooth in consistency.
Cook the farfalle until al dente, removing it from the water 1 minute before the box suggests, and then drain the pasta. Set aside.
Add the green beans to the pot and cook for 2 minutes, until bright green in color. Remove them from the heat.
Add the green beans, pasta and chopped scallions to the creamy sauce mixture and stir until fully coated in sauce.
Top with panko bread crumbs, parmesan, and a drizzle of olive oil to promote crisping.
Bake uncovered for 25-30 minutes, until the creamy edges of the casserole are bubbling.
While the casserole bakes, put a frying pan over medium high heat. Season with 2 tbsp of avocado oil.
Once the oil is shimmering and lightly smoky, add the shallots to the pan and spread them evenly onto the hot surface, so they are all evenly coated in oil. Adjust the heat to medium and then cook until golden brown and crisp, tossing every 2 minutes.
After 7 minutes or so, they should be crisp and golden brown. Remove them from the heat.
When the casserole is done, if you see the top is not golden brown to your liking, broil it on high until the top is golden brown, about 1-2 minutes. Every broiler is different and works differently with different pan depths, so just keep an eye on the casserole as it broils to ensure it turns out just the way you like it!
Remove the casserole from the oven and top with fried shallots and more scallions. Feel free to add a little olive oil drizzle for more color. Serve immediately or pack into containers for leftovers.