Create a Bastion using azure kodekloud playground

I am trying to Create a Bastion using azure kodekloud playground but it keeps failing with the following error:

RequestDisallowedByPolicyResource ‘bastion-test’ was disallowed by policy. Policy identifiers: ‘[{“policyAssignment”:{“name”:“azure8922-1168806-PolicyDefinition-ODL-azure-1168806”,“id”:“/subscriptions/b2aec48f-6dad-4d57-ad25-dad521fe74a4/resourceGroups/ODL-azure-1168806/providers/Microsoft.Authorization/policyAssignments/azure8922-1168806-PolicyDefinition-ODL-azure-1168806”},“policyDefinition”:{“name”:“azure8922-1168806-PolicyDefinition”,“id”:“/subscriptions/b2aec48f-6dad-4d57-ad25-dad521fe74a4/providers/Microsoft.Authorization/policyDefinitions/azure8922-1168806-PolicyDefinition”}}]’.

Thanks for your help.

Hi @hussam.ashab ,

Please check my response on a similar thread.

Regards,