Fix Microsoft 365 Attachments Showing Incorrect File Extensions
Question details
Users receive Office email attachments in Outlook with modified file extensions and incorrect application icons.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Receiving and attempting to open older Microsoft Office file attachments, such as Excel or Word documents, via Outlook email.
- Observed behavior
- Attachments arrive with incorrect file names and extensions (e.g., Costing.xls_), display incorrect application icons (like a Word icon for an Excel file), and fail to open normally without being saved as a PDF first.
Verify the original file format with the sender and ensure you have administrative permissions on your computer, as fixing this issue often requires adjusting your local antivirus or security software settings.
Adjust Antivirus Software Settings
Security software, such as Kaspersky, often blocks or modifies older Office file extensions (.doc, .xls) to protect against macros. Adjusting these settings can resolve the underlying cause.
Many antivirus programs intercept incoming email attachments and rename older Office formats by appending characters like an underscore (.xls_) if they suspect the file might contain macro viruses. Temporarily disabling this feature or adding an exception for Outlook can restore normal attachment delivery.
Locate and open your third-party antivirus software (e.g., Kaspersky, Norton, McAfee) from the Windows system tray or start menu.
Navigate to the 'Email Security', 'Mail Anti-Virus', or 'Real-time Protection' settings within the security application.
Temporarily disable email attachment scanning, or add an exception (whitelist) for Microsoft Outlook and standard Office file types (.xls, .doc).
Ask the sender to resend the email with the attachment to verify if the file extension is now correct and displays the proper icon.

Manually Rename and Unblock the Attachment
If you cannot modify antivirus settings due to organizational policies, you can manually fix the extension and unblock the file so it opens correctly.
Try WPS Office for a Hassle-Free Document Experience
If Microsoft 365 attachment issues interrupt your workflow, consider switching to WPS Office. It is a free, lightweight, and highly compatible alternative that natively handles all standard Office file formats seamlessly without bloated security conflicts.

Frequently Asked Questions
Why does my Excel attachment have an underscore at the end of the file extension?
This occurs when an antivirus program (like Kaspersky) intercepts the email and flags the attachment as a potential macro security risk. It renames the extension (e.g., from .xls to .xls_) to prevent the file from executing automatically.
Can I recover an attachment that arrived with the wrong application icon?
Yes. Save the attachment to your computer, right-click it, and manually rename the file to have the correct extension (such as .xlsx or .xls). Once the extension is correct, your operating system will associate it with the correct application and icon.
How do I prevent Outlook from modifying incoming file extensions?
Microsoft Outlook itself does not usually modify file extensions. This is caused by third-party security software. To prevent it, you must configure your antivirus software's Email Anti-Virus settings to whitelist Microsoft Outlook or specific Office file types.




