@Ken Fly Thanks for reaching to Microsoft Q&A. Apologize for the delay in responding on this.
This issue has been identified and our product team has created a fix for this, and the fix will be released soon in the next update (no ETA).
Work around suggested: At this moment the workaround is to access the container logs either from the kudu console or from the log stream feature in the portal.
Alternatively, you can use this REST API to download the container logs file as zip file.
Sample PS script fyi :
$token = "xx"
$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("Accept", "application/zip")
$token = $args[0]
$headers.Add("Authorization", "Bearer ${token}")
$headers.Add("Content-Type", "application/octet-stream")
Invoke-RestMethod 'https://management.azure.com/subscriptions/exx/resourceGroups/xx/providers/Microsoft.Web/sites/xx/containerlogs/zip/download?api-version=2022-03-01' -Method 'POST' -Headers $headers -OutFile "C:\Users\xx\xx\logs.zip"
Feel free to reach back to me if you have any further questions on this.