Use the following command to retrieve the current product key,
wmic path softwareLicensingService get OA3xOriginalProductKey
Re-entered the product key in activation settings and was able to add it to the domain after that