I'm trying to build a processing pipeline using Azure Logic App.
When a form response is received it will trigger an Azure function that will create a PPTX.
The function copies a template pptx to a memory stream from Azure storage blob, makes modifications, and then uploads the stream back to the blob.
However, I am running into issues opening the presentation from the stream.
blob = container.GetBlockBlobReference("template.pptx");
Stream inStream = new MemoryStream();
using (IPresentation pptxDoc = Presentation.Open(inStream))
/* Make modifications here */
return new HttpResponseMessage(HttpStatusCode.OK);