Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Which specific Office product is this? Subscription versions (Microsoft 365) can always be installed from the associated account at https://account.microsoft.com/services, so you should definitely be able to run it on the new PC, assuming that the subscription is still active of course.
Perpetual licenses such as Office Home & Business 2024 are a bit different. Those can still be installed from a Microsoft account but you may be required to contact Microsoft support if the activation fails.
Note that a preinstalled perpetual license usually can't be transferred to a new machine.