Solar ITC tax credit with purchase of lease

I bought a home in Jun 2021 and opted for lease of Solar System. Now since I was made aware of the ITC tax credit, I am planning to purchase out the lease (in full) during the same financial year 2021. Can I claim the tax credit now since I would be owning the Solar system in the same financial year?