Several issues can cause a grainy powdered sugar lemon glaze. These include if the sugar hasn’t properly dissolved into the glaze, if you’ve used too much sugar, or if you’ve used low-quality or homemade powdered sugar where the granules aren’t fine enough.