Clean up deployment After the sample script has been run, the following command can be used to remove the resource group and all resources associated with it. az group delete --name myResourceGroup