Closed XML.Reports Function app file not saving

Archive1 0 Reputation points
2025-02-02T19:26:01.4633333+00:00

I'm trying to write a function app which generates a report using ClosedXML.Reports. The output template is quite simple and only uses the summaryabove template. The function app is able to create a text file and save it to blob storage successfully. But when I try to get it to create a file using ClosedXML.Reports to save to blob storage it fails in the file generation stage. I've not seen many examples online which use ClosedXML.Reports with a function app to save to blob storage, so I'm not sure exactly where I'm going wrong. The template file is being uploaded to Azure as part of the package when I publish from VSCode and I'm only testing in Azure portal using test and run along with log stream messages to understand what's happening internally. Is anyone able to help?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,379 questions
0 comments No comments
{count} votes

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.