I am trying to publish a C# Function App to a Linux machine in Azure using VS2022.
The same function App can be published to a Windows machine without any problems.
I have followed the advice of the people answering the question below:
Publish Function App to azure zipdeploy failed with HTTP status code Unauthorized
and I have tried this fix: https://github.com/Azure/azure-functions-dotnet-worker/issues/2502
- Basic Authentication was turned on while deploying the function app.
- Run from package is turned on
- I created a fresh publish profile after checking these settings.
- Disabeled Access-Control-Allow-Credentials
- Removed any allowed Origins
I do get this notification whan trying to publish:
I think this doesnt have anything to do with the authorization for publishing.
I am not sure what to try next.