Share via

im having deploy issues with cli and need help

Jeff Tibbetts 0 Reputation points
2026-02-16T13:10:03.9833333+00:00

User's image

trying to deploy api to my resource group using cli.
am new to azure and deploy in general and need some help

cli aqborts connection and I get a message saying it was forcible closed by remote host. then weh i try the kudu drag nd drop approach i =gert the attached error, which does not look like my account at all.

need help

Azure App Service
Azure App Service

Azure App Service is a service used to create and deploy scalable, mission-critical web apps.

{count} votes

2 answers

Sort by: Most helpful
  1. Praneeth Maddali 5,565 Reputation points Microsoft External Staff Moderator
    2026-02-18T10:03:58.5133333+00:00

    Hi @Jeff Tibbetts ,

    For your second issue, I looked more closely at the command you used and found that the problem is due to the command syntax rather than the App Service or your ZIP package.

    The backtick at the end of the --resource-group line and the formatting of the --src-path parameter are causing the CLI command to fail before it gets to the deployment step. Once you fix the command, the deployment should proceed as expected.

    User's image

    Please try using the valid Azure CLI format below:

    az webapp deploy --resource-group <group-name> --name <app-name> --src-path <zip-package-path>
    
    

    User's image

    reference:

    https://learn.microsoft.com/en-us/azure/app-service/deploy-zip?tabs=cli

    If the answer is helpful,  Please do click "Accept the answer” and Yes, this can be beneficial to other community members.

    If you have any other questions, let me know in the "comments" and I would be happy to help you

    0 comments No comments

  2. Praneeth Maddali 5,565 Reputation points Microsoft External Staff Moderator
    2026-02-17T09:51:49.2033333+00:00

    Hi @Jeff Tibbetts ,

    could you please try below steps

    Check which account you are logged in with in Azure CLI:

    az login --tenant <TENANT_ID>
    az account show
    

    List all subscriptions accessible to you:

    az account list --all
    

    Make sure you select the correct subscription before deploying:

    az account set --subscription "YOUR_SUBSCRIPTION_NAME"
    
    
    

    If the answer is helpful,  Please do click "Accept the answer” and Yes, this can be beneficial to other community members.

    If you have any other questions, let me know in the "comments" and I would be happy to help you

     

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.