Created Excel file comes with warning

Dino Cehic 1 Reputation point
2021-07-19T02:38:18.003+00:00

Hi,

I have issue where I have created excel file using Azure Function App written in C#, and gets placed into Azure blob storage account.

After opening the file, it shows following warning:

115722-image.png

Does anyone know how to resolve this issue?

Thanks,

Dino

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,248 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,234 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 68,471 Reputation points
    2021-07-23T04:36:21.79+00:00

    @Dino Cehic As per the error looks like excel was not created successfully therefore while opening the it is not readable format.
    I came across this article while can help you how you can create the excel in azure function. You need to modify the code as per your end but it is for reference to help you whether you are creating the excel file correctly. Once you have created the excel file correctly then you can use the storage SDK to storage that file in storage account.

    0 comments No comments