The solar credit is only available to taxpayers who purchase a new solar system.
If you lease your system, you aren't eligible for the credit.
Please read this TurboTax article for more information.