Azure / Azure/azure-powershell

functionapp: slots have rouge functions associated

Open
#4,690 5 comments 0 reactions 2 assignees Claimed by @stefanushinardi View on GitHub
act-observability-squad customer-reported Functions P2
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### Cmdlet(s)
Remove-AzureRMWebAppSlot
New-AzureRmWebAppSlot

### PowerShell Version
5.1.14393.1715

### Module Version
3.5.0

### OS Version
10.0.14393.1715

### Description
After first removing a Slot and then recreating it, one would expect that there are no functions. However, old functions still exist under the freshly minted Slot.

### Script/Steps for Reproduction
Run the following Cmdlets to reproduce the issue.

```
Remove-AzureRMWebAppSlot -ResourceGroupName $resourceGroupName -Name $webAppName -Slot $slotName -Force -ErrorAction SilentlyContinue
New-AzureRmWebAppSlot -ResourceGroupName $resourceGroupName -Name $webAppName -Slot $slotName
```

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.