Azure Policy not enforcing Deny when creating a Subscription in a Management Group

steven varley 20 Reputation points
2025-05-28T10:05:51.5766667+00:00

Hi,

I'm trying to use an Azure custom policy to deny creation of subscription in a management group when mandatory subscription tags are not provided. Currently creation of the subscription is allowed but then marked as non-compliant in the portal.

Can someone help me understand if policies can be used to deny creation of subscriptions in the above scenario?

Copilot advises "No, the absence of a subscription tag cannot prevent the creation of an Azure subscription. Azure Policy can mark a subscription as non-compliant if it lacks required tags, but it cannot block the creation of the subscription itself"

Is this correct?

Thanks

Azure Policy
Azure Policy

An Azure service that is used to implement corporate governance and standards at scale for Azure resources.


Answer accepted by question author
Pranay Reddy Madireddy 6,340 Reputation points Moderator
2025-05-28T10:33:57.8166667+00:00

Hi steven varley

Azure Policy cannot block the creation of a subscription if mandatory tags are missing. It can only mark the subscription as non-compliant if the required tags are not present, but it does not have the ability to prevent the creation of the subscription.
https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/tag-policies#policy-definitions

Kindly let us know if the above helps or you need further assistance on this issue.


Please do not forget to "Accept the answer” and upvote it wherever the information provided helps you, this can be beneficial to other community members.it would be greatly appreciated and helpful to others.

 

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Newest

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.