Error Windows Admin Center extension on Azure Local

Luke 95 Reputation points
2025-09-21T22:34:22.62+00:00

This morning, we noticed an error on our Azure Local two-node-cluster. To troubleshoot, we uninstalled the Windows Admin Center extension from both nodes and attempted to manually reinstall it. However, during reinstallation, we encountered the following error message:

'Extension Message: Executing Enable operation, SettingDnsRecords: Creating/updating DNS records, GetDataFromMetadataService: Getting data from Azure metadata service, GetInstanceMetadataForArc: Retrieving the virtual machine instance metadata information, GettingWacPort: Getting Windows Admin Centers configured port, UpdatingWindowsAdminCenterConfiguration: Updating Windows Admin Center Configuration, StoppingWindowsAdminCenterService: Stopping Windows Admin Center service, UpdatingInstallationTypeSettings: Updating Installation type for Windows Admin Center, UpdatingCSPSettings: Updating CSP Frame Ancestors for Windows Admin Center, UpdatingCORSSettings: Updating CORS origins for Windows Admin Center, UpdatingPort: Updating port for Windows Admin Center, UpdatingWebSocketValidationOverride: Updating WebSocket validation override settings, UpdatingTokenAuthenticationEnabled: Updating token authentication setting, UpdatingAutoUpdate: Updating auto update setting, SettingProxy: Updating proxy for Windows Admin Center, GettingWacPort: Getting Windows Admin Centers configured port, UpdatingWindowsAdminCenterConfiguration: Updating Windows Admin Center Configuration, GetDataFromMetadataService: Getting data from Azure metadata service, GetInstanceMetadataForArc: Retrieving the virtual machine instance metadata information, TestWACAppServiceReachability: Testing reachability of Application Web Service of Windows Admin Center, GetAccessTokenForArc: Failed to get access token from Azure Arc's identity endpoint, RetrieveCertificate: Retrieving certificate from key vault using app service'

Azure Local

4 answers

Sort by: Most helpful
  1. Dal Passo Fabrizio 35 Reputation points
    2026-02-03T13:56:14.6066667+00:00

    I had to downgrade the installation and all work well now. Here my walkthrough

    Last but not least: DISABLE AUTOUPGRADE on azure portal for this estension!

    Scope & Assumptions

    • Machine is Azure Arc‑enabled and visible in Azure (resource type Microsoft.HybridCompute/machines).
    • You will operate only via Azure CLI (az), using the correct Arc resource location (e.g., westeurope). AdminCenter extension for Arc uses Publisher = Microsoft.AdminCenter and Type = AdminCenter (note: the type is not WindowsAdminCenter on Arc).

    Replace the placeholders consistently:

    • <SUBSCRIPTION_ID>
    • <RESOURCE_GROUP>
    • <ARC_MACHINE_NAME>
    • <LOCATION> (Arc resource location, e.g. westeurope)

    1) Set context

    Shell

    az account set --subscription "<SUBSCRIPTION_ID>"
    

    2) Remove any failed/partial AdminCenter extension

    Shell

    az connectedmachine extension delete 
     --resource-group "<RESOURCE_GROUP>" 
     --machine-name "<ARC_MACHINE_NAME>" 
    --name "AdminCenter"
    

    3) Install AdminCenter v0.66.0.0 (Arc: publisher/type are critical)

    Shell

    az connectedmachine extension create 
     --resource-group "<RESOURCE_GROUP>" 
     --machine-name "<ARC_MACHINE_NAME>" 
    --name "AdminCenter" 
    --publisher "Microsoft.AdminCenter" 
    --type "AdminCenter" 
     --type-handler-version "0.66.0.0" 
    --location "<LOCATION>" 
    --settings "{\"port\":6516}" 
     --force-update-tag "$(date -Iseconds)"
    
    • Publisher/Type must be exactly as above for Arc (Microsoft.AdminCenter / AdminCenter).
    • We explicitly pin 0.66.0.0 (see note on WDAC/Azure Local fix). [thomasmaurer.ch]
    • --settings provides a minimal valid body; --force-update-tag forces the Enable cycle. Managing VM extensions on Arc via CLI is documented by Microsoft.

    4) (Optional) Re‑run the handler (“recheck”) without changing settings

    If you adjusted anything locally (e.g., service startup) and want the extension to re‑evaluate:

    Shell

    az connectedmachine extension update 
     --resource-group "<RESOURCE_GROUP>" 
     --machine-name "<ARC_MACHINE_NAME>" 
    --name "AdminCenter" 
    --publisher "Microsoft.AdminCenter" 
    --type "AdminCenter" 
    --location "<LOCATION>" 
     --force-update-tag "$(date -Iseconds)"
    

    This is the supported way to re‑trigger the handler on Arc machines. [learn.microsoft.com]


    5) Verify in the Azure portal

    • Go to Azure Portal → Arc machine → Extensions + applications → AdminCenter and confirm Provisioning state = Succeeded. Managing WAC in the Azure portal for Arc is described here.
    • Open the Windows Admin Center blade and click Connect to launch the WAC session for the server.


    TL;DR — Command block you actually need (with placeholders)

    Shell

    az account set --subscription "<SUBSCRIPTION_ID>"
    az connectedmachine extension delete 
     --resource-group "<RESOURCE_GROUP>" 
     --machine-name "<ARC_MACHINE_NAME>" 
    --name "AdminCenter"
    az connectedmachine extension create 
     --resource-group "<RESOURCE_GROUP>" 
     --machine-name "<ARC_MACHINE_NAME>" 
    --name "AdminCenter" 
    --publisher "Microsoft.AdminCenter" 
    --type "AdminCenter" 
     --type-handler-version "0.66.0.0" `
    --location "<LOCATION>" 
    --settings "{\"port\":6516}" `
     --force-update-tag "$(date -Iseconds)"
    # (Optional) recheck after any local change
    az connectedmachine extension update  `
     --resource-group "<RESOURCE_GROUP>" `
     --machine-name "<ARC_MACHINE_NAME>" `
    --name "AdminCenter" `
    --publisher "Microsoft.AdminCenter" `
    --type "AdminCenter" `
    --location "<LOCATION>" `
     --force-update-tag "$(date -Iseconds)"
    
    

    Was this answer helpful?

    2 people found this answer helpful.

  2. Luke 95 Reputation points
    2025-10-12T22:39:03.74+00:00

    The new version of Windows Admin Center extension on Azure Local which is 0.66.0.0 can fix the issue.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments

  3. Jshot 15 Reputation points
    2026-01-20T23:27:39.08+00:00

    I have the same issue, version 0.70.0.0: Failed to get access token from Azure Arc's identity endpoint, RetrieveCertificate: Retrieving certificate from key vault using app service

    Anyone find a solution?

    Was this answer helpful?


  4. Nikhil Duserla 9,945 Reputation points Microsoft External Staff Moderator
    2025-10-07T17:16:23.85+00:00

    Hello,

    I have reached out our team and got to know the issue's fixed in version 0.66.0.0. I would say upgrade to the new version once it is available.

    Region Version


    AustraliaEast 0.66.0.0

    CanadaCentral 0.66.0.0

    EastUS 0.66.0.0

    JapanEast 0.66.0.0

    SoutheastAsia 0.62.0.0

    WestEurope 0.62.0.0

    other regions will be updated soon.

    Thank you!

    Was this answer helpful?


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.