Recently I\'ve started creating a new resource group but it seems to be stuck at provisioning server farm resource. Restarting deployment outputs the following error:
Stop-AzureRmResourceGroupDeployment
should cancel the deployment and preserve the resourcegroup if you need to go that route.
https://docs.microsoft.com/en-us/powershell/module/azurerm.resources/stop-azurermresourcegroupdeployment
You can use the Remove-AzureResourceGroup
cmdlet. It will start deleting the resources and cancel the deployment. However, the best way to avoid waiting for anything is to deploy with a different name, and let the delete run in the background.
https://msdn.microsoft.com/en-us/library/dn654585.aspx