Skip to content

Remove check for "UseStandardSecurityType" AFEC for security-type Standard #33280

@AjKundnani

Description

@AjKundnani

Preconditions

  • No need to upgrade Python SDK or the Python SDK is ready.

Related command

  • az vm create --security-type Standard
  • az vm update --security-type Standard
  • az vmss create --security-type Standard
  • az vmss update --security-type Standard

Resource Provider

Microsoft.Compute/virtualMachines

Description of Feature or Work Requested

Today, security-type with value Standard is only supported if AFEC Microsoft.Compute\UseStandardSecurityType is registered on the VM or VMSS subscription.

CRP API now supports Standard as first-class enum for securityType starting API version 2025-11-01. i.e., there's no longer any AFEC dependency for using security type Standard.

ASK: Remove dependency on AFEC Microsoft.Compute\UseStandardSecurityType. Allow end users to specify security-type Standard without mandatory AFEC registration.

IMPORTANT - CRP API also returns Standard as default value of securityType in API response or in GET API if end user has not set any value for securityType at time of VM Create / Update.

Minimum API Version Required

2025-11-01

Swagger PR link / SDK link

Azure/azure-rest-api-specs#39957

Request Example

Target Date

2026-05-31

PM Contact

ajkundna

Engineer Contact

bhnayyar

Additional context

IMPORTANT - CRP API also returns Standard as default value of securityType in API response or in GET API if end user has not set any value for securityType at time of VM Create / Update.

https://techcommunity.microsoft.com/blog/AzureCompute/upcoming-compute-api-change-always-return-non-null-securitytype/4500387

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions