MSFS missing from drive

I’m totally new to MSFS. I recently had my system SSD, C drive, replaced with a larger one. MSFS was installed on its own 1TB SSD. When I got my computer back MSFS was missing from its drive. How do I go about reinstalling it without re-purchasing?

If you purchased it from the Microsoft store, just go in and d/l it again. I’m sure Steam must have some similar procedure.