Below are the command and responses from the cmd:
C:\Program Files (x86)\Microsoft Office\Office16>cscript ospp.vbs /act
Microsoft (R) Windows Script Host Version 5.812
Copyright (C) Microsoft Corporation. All rights reserved.
---Processing--------------------------
Installed product key detected - attempting to activate the following product:
SKU ID: 52c4d79f-6e1a-45b7-b479-36b666e0a2f8
LICENSE NAME: Office 19, Office19ProPlus2019R_Grace edition
LICENSE DESCRIPTION: Office 19, RETAIL(Grace) channel
Last 5 characters of installed product key: 8MBCX
ERROR CODE: 0xC004F017
ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed.
Installed product key detected - attempting to activate the following product:
SKU ID: 7d351d13-e2f4-49ea-a63c-63a85b1d5630
LICENSE NAME: Office 19, Office19ProjectPro2019R_Grace edition
LICENSE DESCRIPTION: Office 19, RETAIL(Grace) channel
Last 5 characters of installed product key: B4JJJ
ERROR CODE: 0xC004F017
ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed.
Installed product key detected - attempting to activate the following product:
SKU ID: 85dd8b5f-eaa4-4af3-a628-cce9e77c9a03
LICENSE NAME: Office 19, Office19ProPlus2019VL_KMS_Client_AE edition
LICENSE DESCRIPTION: Office 19, VOLUME_KMSCLIENT channel
Last 5 characters of installed product key: 6MWKP
<Product activation successful>
Installed product key detected - attempting to activate the following product:
SKU ID: db2760f6-f36b-403c-a0e7-0b59cde7427b
LICENSE NAME: Office 19, Office19VisioPro2019R_Grace edition
LICENSE DESCRIPTION: Office 19, RETAIL(Grace) channel
Last 5 characters of installed product key: 684YW
ERROR CODE: 0xC004F017
ERROR DESCRIPTION: The Software Licensing Service reported that the license is not installed.
---Exiting-----------------------------
C:\Program Files (x86)\Microsoft Office\Office16>