{ "id": "/subscriptions/78e8bb8b-e49f-411c-a93d-552a50388920/resourceGroups/my-resource-group-iac/providers/Microsoft.Resources/deployments/CreateVm-RedHat.RHEL-87-gen2-20230602091841", "name": "CreateVm-RedHat.RHEL-87-gen2-20230602091841", "type": "Microsoft.Resources/deployments", "tags": { "primaryResourceId": "/subscriptions/78e8bb8b-e49f-411c-a93d-552a50388920/resourcegroups/my-resource-group-iac/providers/Microsoft.Compute/virtualMachines/iactest", "marketplaceItemId": "Microsoft.VirtualMachine-ARM", "provisioningHash": "SolutionProvider" }, "properties": { "templateHash": "2549291762927498886", "parameters": { "location": { "type": "String", "value": "southindia" }, "networkInterfaceName": { "type": "String", "value": "iactest591" }, "enableAcceleratedNetworking": { "type": "Bool", "value": true }, "networkSecurityGroupName": { "type": "String", "value": "iactest-nsg" }, "networkSecurityGroupRules": { "type": "Array", "value": [ { "name": "SSH", "properties": { "priority": 300, "protocol": "TCP", "access": "Allow", "direction": "Inbound", "sourceAddressPrefix": "*", "sourcePortRange": "*", "destinationAddressPrefix": "*", "destinationPortRange": "22" } } ] }, "subnetName": { "type": "String", "value": "default" }, "virtualNetworkId": { "type": "String", "value": "/subscriptions/78e8bb8b-e49f-411c-a93d-552a50388920/resourceGroups/my-resource-group-iac/providers/Microsoft.Network/virtualNetworks/testt-vnet" }, "publicIpAddressName": { "type": "String", "value": "iactest-ip" }, "publicIpAddressType": { "type": "String", "value": "Static" }, "publicIpAddressSku": { "type": "String", "value": "Standard" }, "pipDeleteOption": { "type": "String", "value": "Delete" }, "virtualMachineName": { "type": "String", "value": "iactest" }, "virtualMachineComputerName": { "type": "String", "value": "iactest" }, "virtualMachineRG": { "type": "String", "value": "my-resource-group-iac" }, "osDiskType": { "type": "String", "value": "Standard_LRS" }, "osDiskDeleteOption": { "type": "String", "value": "Delete" }, "virtualMachineSize": { "type": "String", "value": "Standard_D2s_v3" }, "nicDeleteOption": { "type": "String", "value": "Delete" }, "adminUsername": { "type": "String", "value": "rootadmin" }, "adminPassword": { "type": "SecureString" }, "securityType": { "type": "String", "value": "TrustedLaunch" }, "secureBoot": { "type": "Bool", "value": true }, "vTPM": { "type": "Bool", "value": true } }, "mode": "Incremental", "debugSetting": { "detailLevel": "None" }, "provisioningState": "Failed", "timestamp": "2023-06-02T05:43:05.6533246Z", "duration": "PT7M6.083005S", "correlationId": "a9107e9c-2bbe-4a3e-9c16-e2673227543c", "providers": [ { "namespace": "Microsoft.Network", "resourceTypes": [ { "resourceType": "networkInterfaces", "locations": [ "southindia" ] }, { "resourceType": "networkSecurityGroups", "locations": [ "southindia" ] }, { "resourceType": "publicIpAddresses", "locations": [ "southindia" ] } ] }, { "namespace": "Microsoft.Compute", "resourceTypes": [ { "resourceType": "virtualMachines", "locations": [ "southindia" ] } ] } ], "dependencies": [ { "dependsOn": [ { "id": "/subscriptions/78e8bb8b-e49f-411c-a93d-552a50388920/resourceGroups/my-resource-group-iac/providers/Microsoft.Network/networkSecurityGroups/iactest-nsg", "resourceType": "Microsoft.Network/networkSecurityGroups", "resourceName": "iactest-nsg" }, { "id": "/subscriptions/78e8bb8b-e49f-411c-a93d-552a50388920/resourceGroups/my-resource-group-iac/providers/Microsoft.Network/publicIpAddresses/iactest-ip", "resourceType": "Microsoft.Network/publicIpAddresses", "resourceName": "iactest-ip" } ], "id": "/subscriptions/78e8bb8b-e49f-411c-a93d-552a50388920/resourceGroups/my-resource-group-iac/providers/Microsoft.Network/networkInterfaces/iactest591", "resourceType": "Microsoft.Network/networkInterfaces", "resourceName": "iactest591" }, { "dependsOn": [ { "id": "/subscriptions/78e8bb8b-e49f-411c-a93d-552a50388920/resourceGroups/my-resource-group-iac/providers/Microsoft.Network/networkInterfaces/iactest591", "resourceType": "Microsoft.Network/networkInterfaces", "resourceName": "iactest591" } ], "id": "/subscriptions/78e8bb8b-e49f-411c-a93d-552a50388920/resourceGroups/my-resource-group-iac/providers/Microsoft.Compute/virtualMachines/iactest", "resourceType": "Microsoft.Compute/virtualMachines", "resourceName": "iactest" } ], "error": { "code": "DeploymentFailed", "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.", "details": [ { "code": "InvalidAuthenticationToken", "message": "The received access token is not valid: at least one of the claims 'puid' or 'altsecid' or 'oid' should be present. If you are accessing as application please make sure service principal is properly created in the tenant. Target: '/subscriptions/78e8bb8b-e49f-411c-a93d-552a50388920/resourceGroups/my-resource-group-iac/providers/Microsoft.Compute/disks/iactest_OsDisk_1_d084cb6379f84b4a80cf1230c8d2c5a8'." } ] }, "validationLevel": "Template" } }