Hello @Yasitha Pandithawatta,
Based on your question,I've done some testing based on your inquiry and it appears that the command can be successfully executed by a global admin with an assigned license. I kindly suggest assigning a license to your global admin account and attempting to run the command once more. Alternatively, if there is another global admin who already has a license,try executing the command to see if the issue persists.
Please let me know if you need further assistance or have any additional questions.