Hi Team,
Getting below error while trying to create VM in Azure via terraform
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=“AuthorizationFailed” Message=“The client ‘[email protected]’ with object id ‘’ does not have authorization to perform action ‘Microsoft.Resources/subscriptions/resourcegroups/read’ over scope ‘/subscriptions//resourcegroups/acctestrg’ or the scope is invalid. If access was recently granted, please refresh your credentials.”
Hello @siva0698,
The Azure Cloud Playground has some limits in terms of instance type and support services, which are described here: Azure Sandbox Playground | KodeKloud
Please check and make sure your terraform file adheres to the above URL.
In case the issue still appear, please share your terraform file so we can have a look and troubleshoot.
Thanks,
Trung.
Hi Team,
Getting below error while trying to create azure resources through Terraform
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=“AuthorizationFailed” Message=“The client ‘’ with object id does not have authorization to perform action ‘Microsoft.Resources/subscriptions/resourcegroups/read’ over scope ‘/subscriptions resourcegroups/azuretf-prod-resource-group’ or the scope is invalid. If access was recently granted, please refresh your credentials.”
Regards
Venkat
@venkat.devops did your issue get solve? asking this as I am also facing the same issue.