Update below variables
# Variables
$TenantId = ""
$ClientId = ""
$ClientSecret = ""
$SubscriptionId = ""
Once you have updated above values. You can execute Get-AzureResourceGroup.ps1
which will return all the resource groups from Azure subscription.