In the stockpot over medium heat, heat the olive oil. Add the onion and cook for 5 minutes.
Add the corn, potatoes, broth, and milk and bring to a simmer. Cook for 15 minutes.
Transfer 2 cups of the soup to a blender and purée until completely smooth. Return the puréed soup to the pot. Mix well, season with salt and pepper, and serve.