The basic troubleshooting to repair error Code 80072f0d is to repair the office program if it fails we need to uninstall and reinstall the program. The necessary steps may be helpful in understanding how to install Office and Uninstall/repair Office programs.
Press the Windows logo key + X to see a list of commands and options. (Basically, a quick way to get to Programs and Features in Control Panel.)
Click Programs and Features.
Click the Office program you want to repair, and then click Change.
Do one of the following:
In-Office 2019 & 2021, click Repair > Continue.
In Office 365 & 2019, click Quick Repair