Most places in my state you need an electrician license, permits, bonding, insurance, a special 'solar' warranty, and inspections if you want solar.
I built my house without any inspection or licensing and connected to the electric grid without anyone from the government ever even looking at it or taking money for it. If I wanted to add a solar system, it basically completely fucked everything and I would have had to gone through the normal permitting and inspection system for my house which would have made even building the house basically impossible for me.