For PowerShell
$tags = @{"tag1"="xxx";"tag2"="2025-08-08";"tag3"="[email protected]";"tag4"="xxx";"tag5"="xxx";"tag6"="xxx"; "tag7"="xx"}
New-AzResourceGroup -Name $resourceGroupName -Location $location -Tag $tags