App Service Plan also clones when cloning a Web App only if the Web App and App Service Plan is in a different Resource group
When we clone a Web App, the App Service Plan will also clone if the Web App and App Service Plan is in a differnet resource group.
This won't happen if the Web App and the App Service Plan is in the same resource group.
1. Put a Web App and an App Service Plan in a different resource group.
2. Clone the Web App from the Azure Portal ([Development Tools] - [Clone app]).
3. Not only the Web App, but also the App Service Plan, which we selected when cloning Web App, will also been cloned in the resource group which the Web App belongs.
I think it is natural to use the App Service Plan we selected when cloning the Web App, rather than cloning the App Service Plan.
This will also happen by PowerShell command (New-AzureRmWebApp -SourceWebApp).
The fix for this has been in production for a while.