skip to Main Content

azure function in 'read only mode' – AzureDevops pipeline deployment from zip

I am deploying azure function using Azure Devops pipeline: https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/azure-function-app-v1?view=azure-pipelines - task: AzureFunctionApp@1 displayName: 'Deploy functions to Function App' inputs: azureSubscription: Subscription appType: functionAppLinux appName: 'functionX' package: $(System.DefaultWorkingDirectory)/functions.zip resourceGroupName: $(resourcegroup) All works great and gets deployed no errors. The problem…

VIEW QUESTION

azure function to upload multiple files into blob storage

public static class FileUpload { [FunctionName("FileUpload")] public static async Task<IActionResult> Run( [HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = null)] HttpRequest req, ILogger log) { string Connection = Environment.GetEnvironmentVariable("AzureWebJobsStorage"); string containerName = Environment.GetEnvironmentVariable("ContainerName"); Stream myBlob = new MemoryStream(); var file = req.Form.Files["File"]; myBlob =…

VIEW QUESTION
Back To Top
Search