Hello IniobongNkanga-8038, it seems that the creation of your AKS cluster is being blocked by a specific policy. There are a couple of ways in which you can resolve this.
- Find the Policy - The error message lists the Azure policy that is blocking the action. Look for the specific policy that disallows the resource "aks-agentpool-19603827-vmss". You should be able to find this information in the error message itself
- Policy limitations - Review the limitations of the policy. If possible, adjust your deployment to meet the policy's requirements. Sometimes, changing the configuration or settings can resolve the issue
- Exception or Disable - Depending on your situation, you can also
- Add an Exception - If you need to create the resource despite the policy, consider adding an exception to the policy specifically for this resource
- Disable the Policy - If the policy is too restrictive and doesn't align with your requirements, you can disable it. However, be cautious while doing this, as it might impact compliance
Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.