Our pipeline indicates success after deployment.
When looking in "Kudo console" in folder wwwroot i observe the following behavior:

Deploy Task is nothing special:
- task: AzureRmWebAppDeployment@4
displayName: 'Deploy Frontend'
inputs:
ConnectionType: 'AzureRM'
azureSubscription: # subscription #
appType: 'webApp'
WebAppName: # appname #
packageForLinux: # package #
The artifact that gets build is approx. 17 MB of size and exists. I downloaded it. It is a ZIP file that can be extracted.

When looking at data\sitepackages i observe the following behaviour:
All deployment runs have a size of 1 KB.
This explains why the ZIP cannot be extracted.
But WHY is it 1 KB?

UPDATE (1):
When we use the feature "Zip Push Deploy" from "Kudo Console" we can drag&drop the ZIP file that we have downloaded from our artefacts before. The zip gets extracted and the app is working! This means the ZIP in the artefacts is not corrupt.
UPDATE (2):
The complete run indicates success and produces a artefact with 17 MB. After Deployment the size of the ZIP file is 1 KB. There has to be an issue with the deploy task?
UPDATE (3):
Screenhot from Deploy Step that also shows success:
UPDATE (4):
MSFT support suggested to use V3 of the deploy Job: AzureRmWebAppDeployment@3.
Same result.
UPDATE (5):
i have recreated the app service in the meanwhile (deleted and created).
Same result.



