Error Code 0xc004f074 Troubleshooting :-
Basic troubleshooting start with the checking of system date and time. There could be network challenges due to Intermittent connectivity issues. If the time zone is set incorrectly, the system cannot be recognize by Microsoft servers. Make it your local time zone from where you are trying to activate Office or Windows.
In other words, the activation keys are blocked, try to take the assistance of a technician here. So that we can track the product keys on Microsoft Product code activation pages to verify the validity.