Azure / Azure/azure-powershell

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

Open
#27,872 4 comments 0 reactions 0 assignees View on GitHub
act-observability-squad App Services bug customer-reported Service Attention
Dominant language
C#
Stars
4.8k
Forks
4.3k
Avg merge
2d 17h
Merged PRs (30d)
51

Description

### 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

```PowerShell
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

```PowerShell
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

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

### Error output

```PowerShell

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.