How to check if an Azure resource group exists?

You can use Azure portal, Azure CLI or PowerShell to check if an Azure resource group exists.

Check if Azure resource group exists using Azure CLI:

Check if Azure resource group exists using PowerShell: