Problem
A slow, review-gated subscription pushed developers into an ungoverned sandbox. The result was an estimated 40 to 100+ resources with no owner, no tags, and no expiry, plus real cost and exposure risk. Reviewers were checking tags by hand.
What I did
- Built an Azure Policy initiative for required resource tagging that denies any deployment missing them, written as a single Bicep module.
- Deployed the same initiative to every subscription through GitHub Actions, so governance ships like any other code change.
- Added a computed expiration tag to every sandbox resource, so owners are notified to remove it after sixty days.
- Ran hands-on cleanup sessions with resource owners first, which showed what the policies needed to handle.
Outcome
Resources can no longer be created without the required tags, and sandbox resources expire on a sixty-day clock instead of running forever. Forgotten databases and compute were decommissioned during cleanup, and manual tag checks in review are gone. The baseline is reusable on any new subscription.