Not able to create any resource using azure terraform

whenever I am trying to create any resource in terraform using azurerm getting below error, can someone please help here quickly:-

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 ‘kk_lab_user_main-adbbc3c5abbe41bf@azurekmlprodkodekloud.onmicrosoft.com’ with object id ‘89e88f5b-0ef1-4323-a9f0-f81c5a3cb080’ does not have authorization to perform action ‘Microsoft.Resources/subscriptions/resourcegroups/read’ over scope ‘/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/resourcegroups/example’ or the scope is invalid. If access was recently granted, please refresh your credentials.”

│ with azurerm_resource_group.example,
│ on main.tf line 20, in resource “azurerm_resource_group” “example”:
│ 20: resource “azurerm_resource_group” “example” {

Hi @Sakshi1,

You can’t create a new resource group; you must utilize the existing one, which has all the necessary permissions, + use RG which has the suffix “kml_rg_main-xxxxx”.

Regards,