To obtain a license key for an older version of Office, you will need to contact Microsoft Support directly. Since you mentioned that you are trying to reinstall your old desktop apps, it's important to ensure that you have access to the original product key or the source files of the older version you wish to install. If you obtained your Office through a volume license, you can find the keys in the admin center in the product details panel on the Keys tab or request your keys through Microsoft Assisted Support.
If you are unable to access the admin center, you can find support phone numbers for volume licensing on the Microsoft website.
References: