Chosen Solution
TB2 ports have damage and hardly work (Mid 2015 MBP) How do I get an I?O board? Is that what I need?
Ouch! The Thunderbolt ports are located on the main logic board. So you’ll need to either try to find someone with the needed skills and parts to repair them or what I think is the quicker way is just replace the logic board. Here’s the IFIXIT guide: MacBook Pro 15" Retina Display Mid 2015 Logic Board Replacement and within the guide you’ll find a listing of possible logic board IFIXIT sells.