Windows Server 2022 Datacenter Azure Edition VM deactivated in MS Azure due to lack of "Azure Stack Hypervisor"

Petri Kaukua 70 Reputation points
2024-04-24T00:46:36.9433333+00:00

Multiple Windows Server 2022 Datacenter Azure Edition VMs started to give the following pop-up
serverdatacenterdeactivated

We are a bit puzzled as all the servers having this issue are in located in MS Azure (East-US).
We checked the connectivity to KMS and we are able to resolve the KMS. We can reactivate the servers successfully but after next restart the popup reappears and all servers are deactivated again.
What could cause the deactivation and how can we fix this issue?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,561 questions
{count} votes

9 answers

Sort by: Most helpful
  1. R, Aravind 20 Reputation points
    2024-05-07T01:06:13.9533333+00:00

    PS C:\Users\xxxxxxx> $Proxy=New-object System.Net.WebProxy

    $WebSession=new-object Microsoft.PowerShell.Commands.WebRequestSession

    $WebSession.Proxy=$Proxy

    $attestedDoc = Invoke-RestMethod -Headers @{"Metadata"="true"} -Method GET -Uri http://169.254.169.254/metadata/attested/document?api-version=2020-09-01 -WebSession $WebSession

     $signature = [System.Convert]::FromBase64String($attestedDoc.signature)
    
     $cert = [System.Security.Cryptography.X509Certificates.X509Certificate2]($signature)
    

    $chain = New-Object -TypeName System.Security.Cryptography.X509Certificates.X509Chain

    $chain.Build($cert)

    True

    We are getting true but eventhough getting pop up windows here windows activation licensing showing an 180 day's but pop up windows and in setting also say windows not yet activated even though try to IMBS cer to download appropriate CN name to upload as you mention path we though getting same

    0 comments No comments

  2. R, Aravind 20 Reputation points
    2024-05-07T07:43:41.8633333+00:00

    as you mention we tried even though getting same error how to stop this


  3. R, Aravind 20 Reputation points
    2024-05-07T07:47:17.53+00:00

    Screenshot 2024-05-07 131139

    How to solved this ?


  4. Blair Briggs 0 Reputation points Microsoft Employee
    2024-05-07T14:43:56.9966667+00:00