Solar panels are made with storm resistance in mind, as they are designed to spend their entire life cycle on a roof. Many solar panels are designed to withstand hail due to the tempered glass covering. However, if the storm is severe enough, nothing is 100% resistant to hail damage. Keep in mind that solar panels may not provide power after a storm, even if they are undamaged. This is likely due to a grid-wide power outage, and not because of your panels.