The short answer
A standard grid-tied system shuts down during a grid outage to avoid energising an unsafe network.
On-Grid Solar Explained
An on-grid solar system connects rooftop solar panels to the electricity grid through a grid-tie inverter. Solar power supplies the building's electricity demand first, while the grid provides additional power when solar generation is insufficient. Surplus electricity may be exported to the grid under an approved net-metering or applicable export arrangement.

Solar Generation
Solar panels convert sunlight into DC electricity.
Grid-Tie Inverter
Converts solar DC electricity into AC power for building use.
Grid Support
The grid supplies shortfalls and may receive surplus electricity under approved arrangements.
During Normal Grid Operation
Solar panels supply DC electricity to the grid-tie inverter, which converts it into AC electricity for the building. Solar generation reduces the amount of electricity drawn from the grid. When solar production exceeds consumption, surplus electricity may be exported under the applicable net-metering or approved export arrangement.
During an Outage
Standard grid-tied inverters automatically disconnect from the grid during a power outage to prevent electricity from feeding into lines that may be under repair. Consequently, ordinary on-grid solar systems generally stop supplying power during an outage, even when sunlight is available. Backup operation requires a specifically designed, compatible backup system with appropriate isolation and protection.

