Udostępnij za pośrednictwem

I can't deploy function APP to Azure "Error Uploading archive... (ServiceUnavailable)."

Kacper Wlodarczyk 0 Punkty reputacji
2025-06-10T15:52:52.9633333+00:00

I managed to set up the infrastructure on Azure via the main.bicep file, everything works fine.

Now I'm trying to deploy the code for Azure function app but I only get this error, I've tried different ways

  • deploy via cli (as below)
  • deploy via visual studio code
  • create a simple function without any dependencies

kacperwlodarczyk@MacBook-Pro-Kacper functions % func azure functionapp publish dev-function-app-jkukvqugruxn2 --python --verbose

Getting site publishing info...

[2025-06-10T15:48:13.872Z] Starting the function app deployment...

Creating archive for current directory...

Performing remote build for functions project.

Deleting the old .python_packages directory

Uploading 45.23 KB [##############################################################################]

Error Uploading archive... (ServiceUnavailable).

Server Response: <div style="display: block; margin: auto; width: 600px; height: 500px; text-align: center; font-family: 'Courier', cursive, sans-serif;"><h1 style="color: 747474">:( Application Error</h1><p style="color:#666">If you are the application administrator, you can access the <a style="color: grey"href="https://XXX.scm.azurewebsites.net/detectors">diagnostic resources</a>.</div>

Centrum społeczności nie jest monitorowane
Komentarze: 0 Brak komentarzy
Liczba głosów: {count}

Twoja odpowiedź

Odpowiedzi mogą być oznaczane jako zaakceptowane przez autora pytania, dzięki czemu użytkownicy wiedzą, że odpowiedź rozwiązała problem autora.