Preheat oven to 350°F (175°C).
In a Dutch oven or large oven-safe skillet, melt butter over medium heat. Add diced onion and mushrooms, cooking for 5–6 minutes until softened and lightly browned.
½ Onion, 1½ cups Mushrooms, 2 Tablespoons Butter
Sprinkle in flour and stir to create a paste. Cook for 1 minute, stirring constantly. Slowly pour in milk and soy sauce, whisking continuously. Simmer for about 7 minutes until thickened.
3 Tablespoons Flour, 2 cups Milk, 1 teaspoon Soy Sauce
Stir in cream cheese, garlic powder, onion powder, black pepper, and salt.
½ teaspoon Garlic Powder, ½ teaspoon Onion Powder, ½ teaspoon Black Pepper, ¾ teaspoon Salt, ¼ cup Cream Cheese
Add drained green beans, stirring until coated in the creamy sauce. If using a regular casserole dish, transfer the mixture to it now.
52 ounces Green Beans
Sprinkle fried onion straws and almonds evenly over the top.
½ cup Sliced Almonds, ¾ cup Fried Onion Straws
Place in oven and bake uncovered for 30 minutes, or until bubbly and golden brown.
Let sit for 5 minutes before serving.