A Microsoft file hosting and synchronization service.
Dear Bartosz Jawornicki,
Thank you for your reply and the information you shared, we suggest you try the methods above to troubleshoot, your issue seems to be similar to what previous users have encountered, in addition, some users have resolved the issue through a different method, which is a different approach:
2. Edit the Registry:1. Press Windows + R to open the run box, copy and paste the following path, back up all the folders in that path, and then delete them.%localappdata%/Microsoft/OneAuth%localappdata%/Microsoft/IdentityCache2. Press Windows + R, enter regedit, click OK, open the registry, find the following registry subkey, right-click Identity, and delete it.HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Common\IdentityDisclaimer: Typically, editing registry or workgroup subkeys is intended for advanced users, administrators, and IT professionals. This can help fix some issues, however, serious problems can occur if you modify the registry incorrectly. Therefore, make sure to follow these steps carefully. For additional protection, back up the registry before modifying it. Then, you can restore the registry if a problem occurs. For more information on how to back up and restore the registry, clickHow to back up and restore the registry in Windows - Microsoft Supportto view the article.**3.Download the offline installation package:**First, cleanly uninstall the current Office.1. Uninstall via Removal Helper Tool: You can install the uninstaller from the link below, and it will take a few minutes to download and install the program. When the installation is complete, the "Uninstall Microsoft Product" window opens.https://outlookdiagnostics.azureedge.net/sarasetup/SetupProd_OffScrub.exe 2. If the removal is not done using the above tools, you can use manual removal to perform a complete removal, and here is the link to the step-by-step guide to manual removal.Manually uninstall Office - Microsoft Support Download the offline installation package: https://officecdn.microsoft.com/sg/492350f6-3a01-4f97-b9c0-c7c6ddf67d60/media/en-us/O365HomePremRetail.img I look forward to your further updates, and if it gives you some clear direction, hopefully you can click ‘Yes’ or ‘No’ to help us improve the support experience and help others with similar issues find a solution. I would appreciate it.If you need any other help, please feel free to contact us, we're always here, thanks.
Best wishes Isabella-MSFT | Microsoft Community Support Specialist