Issue: Unable to create a VM in Azure Playground
Details: Not sure if i was missing any permission. I am not able to use azure labs in kodekloud.
Deployment name:CreateVm-MicrosoftWindowsServer.WindowsServer-201-20240725152010
Subscription:azurekmlprod
Resource group:kml_rg_main-7acdc5422d3f4f91
Start time:7/25/2024, 3:22:44 PM
Correlation ID:
3f591f11-68ae-4b7e-9e93-59c6568c7ce4
{
“status”: “Failed”,
“error”: {
“code”: “RequestDisallowedByPolicy”,
“message”: “Resource ‘aznknewvmwin_OsDisk_1_a01bab2b3a7648cfb54337310cef8b03’ was disallowed by policy. Policy identifiers: ‘[{"policyAssignment":{"name":"Azure_playground_main-7acdc5422d3f4f91","id":"/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/resourceGroups/kml_rg_main-7acdc5422d3f4f91/providers/Microsoft.Authorization/policyAssignments/Azure_playground_main-7acdc5422d3f4f91"},"policyDefinition":{"name":"core_policy_main-7acdc5422d3f4f91","id":"/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/providers/Microsoft.Authorization/policyDefinitions/core_policy_main-7acdc5422d3f4f91"},"policySetDefinition":{"name":"Azure_playground_main-7acdc5422d3f4f91","id":"/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/providers/Microsoft.Authorization/policySetDefinitions/Azure_playground_main-7acdc5422d3f4f91"}}]’. Target: ‘/subscriptions/a2b28c85-1948-4263-90ca-bade2bac4df4/resourceGroups/kml_rg_main-7acdc5422d3f4f91/providers/Microsoft.Compute/disks/aznknewvmwin_OsDisk_1_a01bab2b3a7648cfb54337310cef8b03’.”
}