If using the apples: toss diced apples with 2 tablespoons flour to coat and set aside.
In a large bowl cream together the butter and sugars and light and fluffy.
Mix in the eggs, vanilla and sour cream.
Whisk together the 3 2/3 cup flour, salt, and baking powder.
Add half of flour mixture to the wet ingredients and mix until just combined. Mix in half of milk, then remaining flour mixture, followed by remaining milk (being careful not to over-mix at any point).
If using apples: gently stir apples into cake batter.
Carefully spread the cake batter into the prepared pan.
Sprinkle streusel mixture over the cake batter.
Bake in preheated oven for 40-45 minutes until a toothpick inserted in the middle comes out clean. Remove from the oven and allow to cool until just warm.
Whisk together powdered sugar, milk, and vanilla for the glaze. Drizzle over cooled coffee cake and serve.