Closed jonganej closed 2 years ago
Duplicate of #556
@jonganej thank you for reporting this. We are tracking this in the linked issue and will continue to provide updates there, so I'm closing this one. Please subscribe to #556 for updates. Thanks!
I'm trying to publish to a Linux-based Azure Function v4 but it fails with an apparent exception thrown by the deserialization of the response as seen in the log dump below. Apparently the error message is the same regardless of whether I'm signed in to VS or not. I looked up the code and it seems that a try catch on deserialization / dumping the raw response body if deserialization fails could be useful for debugging failed deployments on VS.
Details to my build env: dotnet 6.0.300 Visual Studio 2022 17.2.0 Microsoft.NET.Sdk.Functions v4.1.0
Publishing with
func azure functionapp publish my-function-name
on Powershell for example works fine so it shouldn't be an app configuration issue.