Question 140
A deployment identity has Owner at subscription scope, but a new VM is rejected with RequestDisallowedByPolicy for an unapproved size. What should the team do first?
Explanation
Correct Answer
Azure Policy with a deny effect can reject resource create or update requests that violate assigned governance requirements, even if the deploying principal has broad Azure RBAC Owner rights. The error identifies a policy decision rather than a missing resource-management permission. Inspect the effective policy at subscription and management-group scopes, confirm the allowed VM SKUs, and correct the deployment or request a documented exception where permitted. Adding more RBAC roles will not override a valid deny policy.
Incorrect Answers
Changing authentication mechanisms cannot make a policy-prohibited VM size compliant with Azure resource governance. The deployment request is reaching Azure Policy and being rejected by its deny condition. The fix concerns the policy parameters, selected SKU, or a properly authorized exemption, not a reduction in identity authentication controls.
Storage Blob Data Owner governs blob-data operations and has no bearing on whether an Azure Policy permits a VM size. Granting it would expose unrelated storage data privileges without resolving the deployment denial. The administrator should examine the applicable policy and choose an approved VM SKU instead.
Adding another Owner allow assignment does not neutralize Azure Policy's deny evaluation, and a rejected VM may not exist as an assignable resource. The identity already has extensive management rights. The deployment is blocked because the selected SKU violates governance settings, so the team must address the policy requirement or approved exception process.