Make sure the product key matches exactly what’s installed. You can’t use a standalone key on a volume license version (or vice versa). Uninstall the wrong edition and reinstall the correct one from your Microsoft account.
If none of the above solutions work, it's time to contact Microsoft Support: error code 0xc004f017 office activation
Then convert the edition:
Type the following command (adjusting the path if your Office version is different): cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus Look for the . 2. Remove the Stale Key Make sure the product key matches exactly what’s installed