Skip to content

Add policy to audit or upgrade BlobStorage accounts to StorageV2#537

Merged
Joshua-Donovan merged 2 commits into
Azure:mainfrom
gtrossell-eng:BlobOnly
Jun 17, 2026
Merged

Add policy to audit or upgrade BlobStorage accounts to StorageV2#537
Joshua-Donovan merged 2 commits into
Azure:mainfrom
gtrossell-eng:BlobOnly

Conversation

@gtrossell-eng

Copy link
Copy Markdown
Contributor

This contribution adds a Storage policy that identifies legacy BlobStorage accounts and optionally upgrades them to StorageV2 using DeployIfNotExists remediation.

The policy preserves the existing storage account SKU and access tier during remediation and supports AuditIfNotExists, DeployIfNotExists, and Disabled effects.

Tested successfully in a sandbox subscription using Azure Policy remediation.

George Trossell added 2 commits June 3, 2026 14:41
Add policy to audit or upgrade BlobStorage accounts to StorageV2
@neiichango neiichango self-assigned this Jun 17, 2026
@schoag-msft

Copy link
Copy Markdown
Member

@neiichango can you assist with getting this merged from @gtrossell-eng? We're in the Azure Blob Storage PG and will be leveraging these policies as a part of an upcoming CXP webinar and in our official docs for GPv1 retirement. We also have a similar PR in #536 if you're up for giving that a review/merge as well

@neiichango

Copy link
Copy Markdown
Collaborator

internal testing confirmed the policy works fine on greenfield and brownfield operations.
approved for merging. awaiting second approval.

@Joshua-Donovan Joshua-Donovan merged commit 9c7cfdf into Azure:main Jun 17, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants