Skip to content

Update ValidateSet for Set-AzWebApp and other WebApp commands to include TLS 1.3 #27872

Open
@avenski-ecovadis

Description

@avenski-ecovadis

Description

Currently you can only provide values 1.0-1.2.
Please add a new value to a validateset: 1.3

Issue script & Debug output

Set-AzWebApp: Cannot validate argument on parameter 'MinTlsVersion'. The argument "1.3" does not belong to the set "1.0,1.1,1.2" specified by the ValidateSet attribute. Supply an argument that is in the set and then try the command again.

Environment data

Name                           Value
----                           -----
PSVersion                      7.5.1
PSEdition                      Core
GitCommitId                    7.5.1
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Module versions

ModuleType Version    PreRelease Name                                PSEdition ExportedCommands
---------- -------    ---------- ----                                --------- ----------------
Script     14.0.0                Az                                  Core,Desk

Error output

Metadata

Metadata

Assignees

No one assigned

    Labels

    App Servicesaka WebSitesService AttentionThis issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.customer-reported

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions