No. The federal tax credit was already realized by Sunrun, with the savings passed along as part of the lease payments. No different then buying out a lease on an EV, where the federal tax credit was realized by the leasing company; no tax benefit.
In scenarios like this, the seller eats the remaining lease cost when the property is sold (think of it as a reduction in sales price).
In scenarios like this, the seller eats the remaining lease cost when the property is sold (think of it as a reduction in sales price).