Azure / Azure/azure-powershell
functionapp: slots have rouge functions associated
- 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
Assessment
This issue has not been assessed yet.