Home › Knowledgebase › KB-1768

Cannot Open Email Attachment in SharePoint or OneDrive

Summary

This guide helps you troubleshoot and resolve: Cannot Open Email Attachment in SharePoint or OneDrive. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

If you receive a pop-up message stating there is insufficient system memory or resources when attempting to open an email attachment stored in SharePoint or OneDrive, the issue is typically caused by a full Outlook SecureTemp folder. This is a known symptom for organisations that have recently migrated from local file servers to cloud synchronisation services. Outlook uses this temporary folder to cache attachments before opening them; when it becomes full, new cloud-hosted attachments cannot be rendered.

Quick Fix Steps

  1. Close Microsoft Outlook completely.
  2. Open File Explorer.
  3. Navigate to the Outlook SecureTemp folder.
  4. Delete all files within the folder.
  5. Restart Outlook and attempt to open the attachment again.

Detailed Instructions

Locate the SecureTemp Folder

  1. Press Windows Key + R on your keyboard to open the Run dialog box.
  2. Type or paste the following path into the Open field:
    %localappdata%\Microsoft\Windows\Temporary Internet Files\Content.Outlook
  3. Press Enter or click OK.

Clear the Folder Contents

  1. Press Ctrl + A to select all files and folders currently displayed.
  2. Press the Delete key on your keyboard, or right-click the selection and choose Delete.
  3. If prompted with a confirmation dialog, click Yes to permanently delete the items.
  4. Empty your Windows Recycle Bin to ensure the temporary files are fully removed from the system.

Test the Attachment

  1. Launch Microsoft Outlook.
  2. Open the email containing the SharePoint or OneDrive attachment.
  3. Double-click the attachment to open it.
The SecureTemp folder is a hidden system location. Using the %localappdata% environment variable is the fastest way to reach it without manually enabling hidden folders in File Explorer.
Do not delete the SecureTemp folder itself. Only remove the files contained inside the folder. Deleting the folder directory may cause Outlook to malfunction until it is recreated automatically.

Troubleshooting

Folder Path Does Not Exist

If the path returns no results, Outlook may not have created the SecureTemp folder yet. Open any attachment from a local source first, then repeat the steps above to locate the generated cache folder.

Files Cannot Be Deleted

Ensure Outlook is fully closed. Check the system tray near the clock for the Outlook icon and exit the application if it is still running. If files remain locked, restart your computer and attempt the deletion again before opening Outlook.

Error Persists After Clearing Cache

If the insufficient memory error continues after clearing the SecureTemp folder, the issue may be related to your Microsoft 365 licence, OneDrive synchronisation status, or a corrupted Outlook profile. Please contact your IT support team for further assistance.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket