For volume-licensed versions, the client may fail to find a valid license from the activation server. Common Fixes to Try
If the above fails, the token store file ( tokens.dat ) may be corrupted or contain a conflicting "dogfood" (beta) license. error code 0xc004f017 office activation
If you are seeing this error, it is highly likely that the key was redeemed previously, but you are signed in with the wrong email address. For volume-licensed versions, the client may fail to
: A pre-installed trial version of Office (often Office 365/Microsoft 365) is still present on the system and conflicting with the volume-licensed version you are trying to activate. : A pre-installed trial version of Office (often
Alternative: To remove all licenses at once (faster for most users), type: cscript ospp.vbs /remhost
Fixing Office Activation Error 0xc004f017 Error code 0xc004f017 typically appears when you try to activate a volume license version of Microsoft Office (like Office 2016, 2019, or 2021) on a machine that doesn't have the correct licensing certificate or is conflicting with a retail installation. Why Error 0xc004f017 Happens