az webapp up
- AttributeError: 'ZipFile' object has no attribute 'mkdir'
#27155
Labels
app-service-general
Auto-Assign
Auto assign by bot
Auto-Resolve
Auto resolve by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
This issue needs attention from Azure service team or SDK team
Possible-Solution
Service Attention
This issue is responsible by Azure service team.
Similar-Issue
Web Apps
az webapp
Describe the bug
When attempting to deploy an ASP.NET Core Web API to Azure App Service, the error
AttributeError: 'ZipFile' object has no attribute 'mkdir'
is returned. This error occurs when I runaz webapp up --name REDACTED --sku F1 --resource-group REDACTED --location germanywestcentral --os-type Linux
in the directory of the Web API server.The ASP.NET Core Web API project is structured like this:
Related command
az webapp up
Errors
Issue script & Debug output
The generated logs are unfortunately too extensive to reliably check for sensitive information.
Expected behavior
The Web API solution is deployed to azure App Service.
Environment Summary
az --version
uname -a
Additional context
No response
The text was updated successfully, but these errors were encountered: