Here are some a good article on the disadvantages of leasing:
https://www.consumerreports.org/energy-saving/real-cost-of-leasing-vs-buying-solar-panels/
https://www.chooseenergy.com/news/article/pros-cons-solar-lease/#:~:text=Solar%20leasing%20does%20have%20some,the%20works%20to%20replace%20it).