Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Just to be clear, you are running Office under Windows? If you are, Office 2019 should definitely continue working, although the product is out of support.
What is the exact error message you see? Does it explicitly say that Office 2019 is unlicensed?
I am asking because even newer versions, such as my own installation of Office Home & Business 2024, now includes an "encouragement" to upgrade. See the screen shot.