Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

An attachment cannot be saved if it is blocked or if its file type is invalid

Posted on by Microsoft Employee

Hello,

We're receiving the following error when attempting to associate an e-mail with a customer record when that e-mail contains an attachment. In this case, the attachment is a Word document (.DOCX). I have confirmed that the extension does not appear in the blocked extension list for attachments (Settings -> Administration -> System Settings -> General) and that the size of the attachment is less than the maximum file size allowed for attachments (Settings -> Administration -> System Settings -> E-mail). The attachment is around 100KB and our attachment file size limit is set to 32MB. We're using on-premise CRM 2016 with server-side synchronization. Any insights would be greatly appreciated.

"The message was saved as a Microsoft Dynamics CRM email record, but not all the attachments could be saved with it. An attachment cannot be saved if it is blocked or if its file type is invalid."

*This post is locked for comments

  • OshoICT Profile Picture
    OshoICT 2 on at
    RE: An attachment cannot be saved if it is blocked or if its file type is invalid

    Hi,

    In our case, we found the issue to be permissions Access Rights: Create Access for the entity Activities for the owner of the received email.

    IMG_5F00_20112018_5F00_102440_5F00_0.png

  • rbrady Profile Picture
    rbrady 10 on at
    RE: An attachment cannot be saved if it is blocked or if its file type is invalid

    We still have an open ticket with MSFT about it. In the meantime, we figured out that the emails that had attachments stripped were addressed to both a queue/case-creation email address AND a CRM User. We set the Incoming Email for the Users to *Microsoft Dynamics 365 for Outlook* instead of *Server-Side Sync or Email Router,* and we haven't missing any attachments since then, but it halts User ability to track emails, so is not a good or permanent solution.

  • OshoICT Profile Picture
    OshoICT 2 on at
    RE: An attachment cannot be saved if it is blocked or if its file type is invalid

    Hi Guys,

    Did any of you manage to sort out this issue? It's happening on our On-prem CRM as well.

  • rbrady Profile Picture
    rbrady 10 on at
    RE: An attachment cannot be saved if it is blocked or if its file type is invalid

    Were you able to resolve this issue? We're seeing the same error on some incoming case emails in 365 on prem since updating to 8.2.2 last week. 

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: An attachment cannot be saved if it is blocked or if its file type is invalid

    John:

    Yes, we're sure that we're set for 32Megs, the number we've input is 32768.  

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: An attachment cannot be saved if it is blocked or if its file type is invalid

    Hello,

        Can you verify that your max file attachment size is set for 32MB? It is under System Settings->Email (see screenshot). The entry you should have there for 32MB is 32000. I know I've come across this where people mistake the value for MB when in fact it is for KB.

    8867.1.png

    Please verify.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans