Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
avenski-ecovadis opened this issue May 29, 2025 · 3 comments
Labels
App Services aka WebSites bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Service Attention This issue is responsible by Azure service team.

Comments

@avenski-ecovadis
Copy link

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

@avenski-ecovadis avenski-ecovadis added bug This issue requires a change to an existing behavior in the product in order to be resolved. needs-triage This is a new issue that needs to be triaged to the appropriate team. labels May 29, 2025
@microsoft-github-policy-service microsoft-github-policy-service bot added customer-reported and removed needs-triage This is a new issue that needs to be triaged to the appropriate team. labels May 29, 2025
@isra-fel isra-fel added App Services aka WebSites Service Attention This issue is responsible by Azure service team. labels Jun 5, 2025
Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @antcp, @AzureAppServiceCLI.

@isra-fel
Copy link
Member

isra-fel commented Jun 5, 2025

Better to use argument completer instead of validation set for future proof

Copy link
Contributor

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @antcp, @AzureAppServiceCLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Services aka WebSites bug This issue requires a change to an existing behavior in the product in order to be resolved. customer-reported Service Attention This issue is responsible by Azure service team.
Projects
None yet
Development

No branches or pull requests

2 participants