web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Error in exporting view to excel : "Failed to generate Excel"

(0) ShareShare
ReportReport
Posted on by

Hello,

I am trying export a view to excel but I receive the following error :

"Failed to generate Excel

An error occurred when Dynamics 365 attempted to generate the Excel file. If this problem persists, contact your system administrator."

The number of records are 5000. There is a related entity column which seems to be causing the error. If I remove the column, the export works fine. Any ideas why this column is causing the issue?

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at
    RE: Error in exporting view to excel : "Failed to generate Excel"

    Hello, the column contains names and email ids. If I export for only names, it works. It fails if the column has email id. Any idea why it must be happening?

  • Community Member Profile Picture
    on at
    RE: Error in exporting view to excel : "Failed to generate Excel"

    Tried opening a blank excel sheet and then exported the view. Did not work for me. Still the same error. I am able to export a blank view but not with the values.

  • Community Member Profile Picture
    on at
    RE: Error in exporting view to excel : "Failed to generate Excel"

    Yes I have tried with different fields. The error is thrown for only one particular column. It contains email ids.

  • Suggested answer
    bac26 Profile Picture
    2,268 on at
    RE: Error in exporting view to excel : "Failed to generate Excel"

    Try opening up Excel with a blank spreadsheet first.  I have seen this in some cases.  Worth a shot.

  • gdas Profile Picture
    50,091 Moderator on at
    RE: Error in exporting view to excel : "Failed to generate Excel"

    Could you please try with different field of related entity may be some data format issue , try with some other  admin user.

  • Community Member Profile Picture
    on at
    RE: Error in exporting view to excel : "Failed to generate Excel"

    The display labels are different. Also, I have tried with 1 record but it still shows the error.

  • gdas Profile Picture
    50,091 Moderator on at
    RE: Error in exporting view to excel : "Failed to generate Excel"

    Ideally this issue is coming when you are going to export   different fields with the same display label , secondly put some condition to reduce the number of records and check .

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Aric Levin - MVP Profile Picture

Aric Levin - MVP 2 Moderator

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#3
MA-04060624-0 Profile Picture

MA-04060624-0 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans