New Excel workbooks (created in SharePoint library) not launching in app - .xlsx "extension is not valid"

Alan 45 Reputation points
2024-04-16T01:29:14.2533333+00:00

Hi there,

 

Having a recent issue in some SharePoint sites - in Document Libraries, using the (default) New > Excel Workbook action gives the error when launching the app: "Excel cannot open the file 'Book.xlsx' because the file format or file extension is not valid".

thumbnail image 1 of blog post titled  New Excel workbooks not launching in app - .xlsx "extension is not valid"

  • There is some inherited managed metadata in the library but I can't see any issue here and thats been in place for a while. 
  • Site/Library Permissions have been checked and no issues found.
  • Excel files that were already in the library don't experience this issue (Excel opens successfully).
  • It doesn't happen if we upload a .xlsx file to the document library. (Excel opens successfully).
  • Excel Files launch fine in the browser. Having tested changing the default to "open in browser" this did temporarily resolve the issue and files created under this setting were then able to launch in the app. However this is not most users' preferred setting.

Can anyone advise what the root cause might be and how we can get newly generated .xlsx workbooks launching in Excel as normal?

 

Thanks,

Alan

Excel
Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
1,964 questions
SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,827 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Xyza Xue_MSFT 25,546 Reputation points Microsoft Vendor
    2024-04-16T09:06:40.6433333+00:00

    Hi @Alan Walker ,

    Thank you for posting in this community.

    It seems this is not a common issue per my test. However, we can work together to narrow down and resolve the situation. So, Please kindly provide more information below to let us work further.

    1.You could try to clear browser cache then restart it.

    2.Try to use a different browser or your browser's InPrivate mode to see if the same error occurs.

    3.Are other users with permissions facing the same problem? View through another computer or account.

    4.Whether all SharePoint libraries have the same problem? You could create a new SharePoint library to check.

    5.Check if the same issue occurs with other SharePoint site collections.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Marie, D 0 Reputation points
    2024-07-09T20:10:55.71+00:00

    I am having the same issue as described above. The spreadsheet is able to open in the browser but I get the error message when opening it in the desktop app. The issue seems to be the default name "Book.xlsx as I am able to open the file on the desktop app if I rename the file while it is open on the browser.

    Microsoft needs more knowledgeable techs to support SharePoint. Thus far every issue I have encountered in SharePoint cannot be resolved because techs are unable to replicate them. This software is becoming useless due to the lack of technical support.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.