Azure / azure-powershell

Microsoft Azure PowerShell
Other
4.22k stars 3.83k forks source link

Invoke-AzStorageSyncCompatibilityCheck OS version check fails with Windows Server 2022 Datacenter Azure Edition #23614

Open bmckilligan opened 10 months ago

bmckilligan commented 10 months ago

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

isra-fel commented 10 months ago

cc @ankushbindlish2 @afedyashov from storage sync team.

ankushbindlish2 commented 9 months ago

ack

microsoft-github-policy-service[bot] commented 1 month ago

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