title: Error creating new azure resource group using terraform
body: <p>I am trying to new resource group in azure using terraform but i am getting following error</p>
  <blockquote>
  <p>Error checking for presence of existing resource group:
  resources.GroupsClient#Get: Failure responding to request:
  StatusCode=403 -- Original Error: autorest/azure: Service returned an
  error. Status=403 Code=&quot;AuthorizationFailed&quot; Message=&quot;The client
  'xxxxx' with object id 'xxxxx' does not have authorization to perform
  action 'Microsoft.Resources/subscriptions/resourcegroups/read' over
  scope '/subscriptions/***/resourcegroups/stage-group' <strong>or the scope
  is invalid</strong>. If access was recently granted, please refresh your
  credentials.</p>
  </blockquote>
  <p>This is code sample</p>
  <pre><code>terraform {
    required_providers {
      azurerm = {
        source  = &quot;hashicorp/azurerm&quot;
        version = &quot;=2.7.0&quot;
      }
    }
  }
  
  provider &quot;azurerm&quot; {
    features {}
  }
  
  #Create resource group
  resource &quot;azurerm_resource_group&quot; &quot;resource_group&quot; {
    name     = &quot;stage-group&quot;
    location = &quot;eastus&quot;
  }
  </code></pre>
  <p>I am running this through github actions and passing ARM_CLIENT_ID,ARM_CLIENT_SECRET, ARM_SUBSCRIPTION_ID ,ARM_TENANT_ID . I dont have problem when running the same for existing resource.</p>