Azure / Azure/azure-cli

Az webapp deployment slot log or status - feature request

Open
#22,953 11 comments 0 reactions 1 assignee Assigned to @tulikac View on GitHub
act-observability-squad app-service-slots Auto-Assign customer-reported feature-request Service Attention triage Web Apps
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**

az webapp deployment slot swap - is the related command

**Is your feature request related to a problem? Please describe.**

I can't swap the slots because the source slot is not resolving a ping. I can see that in the phone app for Azure but I can't see that in the Azure portal log or with Az CLI (at least that I could find).

I need a way to determine the issue with a failed swap, ie its previous or current state, in order to know if I can swap - when using automation or CICD tooling.

**Describe the solution you'd like**

I would like to know the current status of the slot, and the last failed action that might prevent a swap.

**Describe alternatives you've considered**

All I can think of is to redeploy but the issue is I've redeployed 3 times and still can't swap. If deployment succeeded but I can't swap, there is some middle piece of information I need but don't have.

**Additional context**

- App Service for Linux and Node 14, 2 slots (production and stage)
- az cli command used in GitHub action with Az CLI action command: az webapp deployment slot swap --name 4tt-1 --resource-group basic-express-typescript --slot stage

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.