Clear Microsoft Office Cache Mac

There are multiple locations with Teams cache files: as noted by @JMY1000, the regular cache folder /Library/Caches; see @grg's answer here or this answer by a Microsoft employee: /Library/Application Support/Microsoft/Teams; If you remove just those, you don't need to login again, so the following Terminal commands would work. It removes temporary files, outdated cache, and app leftovers, freeing up space on your Mac. If you want to clear the cache on your Mac right now, we suggest doing it the easy way: Launch CleanMyMac X (download the trial version here).

Mac users may encounter issues when activating their copy of Microsoft Office from the University of Iowa if they previously entered the incorrect information when attempting to activate. This issue may also appear in the form of repeating Microsoft Office login requests.

Note: You must activate the license by using the HawkID@uiowa.edu format for your login credentials, followed by your HawkID and password. Full support information to activate Microsoft Office is available on our support guide, How to install Microsoft Office.

How Do I Clear The Cache In Office 365

Note: If the incorrect information was entered in the email address field, you may need to clear out Mac's keychain since it saved the incorrect information.

To clear Keychain:

  1. Close all Microsoft Office applications (Outlook, Word, Excel, PowerPoint, etc.).
  2. Open Finder, and then open the Applications menu:

  3. Open the Utilities folder:

  4. Open Keychain Access.
  5. Select the Search Bar in the top right corner.
  6. Search for and delete all references to the following items:
    • Exchange
    • Office
    • ADAL
  7. Close Keychain Access.
  8. Restart your computer.
  9. You may then proceed to activate Microsoft Office using the correct information. Full support information to activate Microsoft Office is available on our support guide, How to install Microsoft Office.
-->

Because add-ins are developed using HTML and JavaScript, they are designed to work across platforms, but there might be subtle differences in how different browsers render the HTML. This article describes how to debug add-ins running on a Mac.

Debugging with Safari Web Inspector on a Mac

If you have add-in that shows UI in a task pane or in a content add-in, you can debug an Office Add-in using Safari Web Inspector.

To be able to debug Office Add-ins on Mac, you must have Mac OS High Sierra AND Mac Office version 16.9.1 (build 18012504) or later. If you don't have an Office Mac build, you can get one by joining the Microsoft 365 developer program.

To start, open a terminal and set the OfficeWebAddinDeveloperExtras property for the relevant Office application as follows:

Clear Microsoft Office Cache Mac
  • defaults write com.microsoft.Word OfficeWebAddinDeveloperExtras -bool true

  • defaults write com.microsoft.Excel OfficeWebAddinDeveloperExtras -bool true

  • defaults write com.microsoft.Powerpoint OfficeWebAddinDeveloperExtras -bool true Usb pnp sound device drivers.

  • defaults write com.microsoft.Outlook OfficeWebAddinDeveloperExtras -bool true

    Important

    Mac App Store builds of Office do not support the OfficeWebAddinDeveloperExtras flag.

Then, open the Office application and sideload your add-in. Right-click the add-in and you should see an Inspect Element option in the context menu. Select that option and it will pop the Inspector, where you can set breakpoints and debug your add-in.

Note

If you're trying to use the inspector and the dialog flickers, update Office to the latest version. If that doesn't resolve the flickering, try the following workaround:

  1. Reduce the size of the dialog.
  2. Choose Inspect Element, which opens in a new window.
  3. Resize the dialog to its original size.
  4. Use the inspector as required.

Clearing the Office application's cache on a Mac

Add-ins are often cached in Office for Mac, for performance reasons. Normally, the cache is cleared by reloading the add-in. If more than one add-in exists in the same document, the process of automatically clearing the cache on reload might not be reliable.

Clear Microsoft Office Cache Mac Pro

You can clear the cache by using the personality menu of any task pane add-in.

  • Choose the personality menu. Then choose Clear Web Cache.

    Note

    You must run macOS version 10.13.6 or later to see the personality menu.

You can also clear the cache manually by deleting the contents of the ~/Library/Containers/com.Microsoft.OsfWebHost/Data/ folder.

Note

Clear Microsoft Office Cache Mac

If that folder doesn't exist, check for the following folders and if found, delete the contents of the folder:

Clear Microsoft Office Cache Macbook

  • ~/Library/Containers/com.microsoft.{host}/Data/Library/Caches/ where {host} is the Office application (e.g., Excel)
  • ~/Library/Containers/com.microsoft.{host}/Data/Library/Application Support/Microsoft/Office/16.0/Wef/ where {host} is the Office application (e.g., Excel)
  • ~/Library/Containers/com.microsoft.Office365ServiceV2/Data/Caches/com.microsoft.Office365ServiceV2/
  • ~/Library/Containers/com.microsoft.Office365ServiceV2/Data/Library/Caches/com.microsoft.Office365ServiceV2/