azure-powershell
azure-powershell copied to clipboard
Invoke-AzStorageSyncCompatibilityCheck OS version check fails with Windows Server 2022 Datacenter Azure Edition
Description
Using Invoke-AzStorageSyncCompatibilityCheck on an Azure VM with Windows Server 2022 Datacenter Azure Edition returns the error
Kind : SystemValidation
Type : OsVersion
Level : Error
Positions :
Description : OS edition '407' is not supported. Supported editions are: Standard Server Edition, Datacenter Server Edition
Path :
The StorageSync services work fine otherwise without issue. 'Datacenter Azure Edition' is probably missing from a list of types
Issue script & Debug output
Invoke-AzStorageSyncCompatibilityCheck -Path "E:\SomePath"
Environment data
Name Value
---- -----
PSVersion 5.1.20348.2031
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.20348.2031
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Module versions
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 2.13.2 Az.Accounts {Add-AzEnvironment, Clear-AzConfig, Clear-AzContext, Clear-AzDefault...}
Script 2.1.0 Az.StorageSync {Get-AzStorageSyncCloudEndpoint, Get-AzStorageSyncGroup, Get-AzStorageSyncServer, Get-AzStorageSyncServerEnd...
Error output
No response
cc @ankushbindlish2 @afedyashov from storage sync team.
ack