Do note that it has nothing to do with the licensing of your application. The error description may be slightly confusing and misleading. Check the product key and try again or enter a different one. The exact text you get while attempting to activate Windows Server 2019 reads as follows – The error has something to do with the server failing to detect your product key in some way.
This is one of the common errors you would find while attempting to activate your Windows Server 2019. How to resolve Windows Server 2019 error 0X80070490?