Windows-Admin-Center-Ideas-and-Feedback icon indicating copy to clipboard operation
Windows-Admin-Center-Ideas-and-Feedback copied to clipboard

[Automatically update extensions] - Automatically update extensions doesn't work of version 2110.

Open ghost opened this issue 3 years ago • 13 comments

I installed WAC v2110, but the extension automatically update function doesn't work.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Settings\Extensions'.
  2. Click on 'Automatically update extensions'.
  3. Wait a few minutes.

ghost avatar Feb 11 '22 02:02 ghost

We aren't able to repro this issue. Did you refresh after you toggled it on?

trungtran-msft avatar Feb 16 '22 01:02 trungtran-msft

yes, I refreshed.

ghost avatar Feb 16 '22 01:02 ghost

That's odd, if it is still not auto-updating, can you please capture a HAR file so that an engineer is able to look into it. This is the first instance that I've seen of this issue so reproducing it has been difficult.

trungtran-msft avatar Feb 16 '22 01:02 trungtran-msft

HAR file

ghost avatar Feb 16 '22 01:02 ghost

I created two VM to try this function, The VM1 use windows 11 and VM2 use windows 2022, and only VM1 can automatically update extensions.

ghost avatar Feb 16 '22 02:02 ghost

I can reproduce. I've tried WAC as fresh installs on both client (Win 10 Ent) and servers (2022 DC).

The effect is one is forced to select each extension one at a time and update it, as you cannot do a multiple-select on that page, nor is there an update all button.

image

I've waited up to four days.

Version
2110
Build
1.3.2111.01001

The two previous versions behaved the same.

soyfrien avatar Mar 11 '22 19:03 soyfrien

I have seen this too. Pretty much just assumed the auto-update option is flakey and do it manually.

roblaw80 avatar Mar 25 '22 19:03 roblaw80

Hello :) My name is Rebecca, a product manager on the WAC team. I have filed this as an issue for investigation. Kind regards.

RebeccaMbulaMs avatar May 09 '22 10:05 RebeccaMbulaMs

Same issue.

aireynol avatar Jul 13 '22 17:07 aireynol

same here. WAC 1.3.2204.19002 on Windows Server 2022

mpetr avatar Nov 11 '22 20:11 mpetr

Same here as well. Would have been nice if it at least had an "Update all"-button to queue updates.

Windows Server 2022 and WAC 1.3.2204.19002.

rogergh avatar Nov 16 '22 10:11 rogergh

I use following PowerShell script to keep all WAC extensions up to date.

Import-Module "C:\Program Files\Windows Admin Center\PowerShell\Modules\ExtensionTools\ExtensionTools.psm1"
 
$all = Get-Extension -GatewayEndpoint "https://localhost/"
$installed = $all | where {($_.isLatestVersion -eq $False) -and ($_.status -eq "Installed")}
 
foreach ($extension in $installed)
{
    $extensionNew =  $all | where {($_.id -eq $extension.id) -and ($_.status -eq "Available") -and ($_.isLatestVersion -eq $true)}
    if ($extensionNew -ne $null) {
        if ([System.Version] $extension.version -lt [System.Version] $extensionNew.version)
        {
            $extension | select id,title,version,status
            $extensionNew | select id,title,version,status
            Update-Extension -GatewayEndpoint "https://localhost/" -ExtensionId $extensionNew.id
        }
    }
}

ghost avatar Nov 17 '22 08:11 ghost

The automatic update extensions are worked of WAC version 2211 Public Preview.

ghost avatar Nov 24 '22 01:11 ghost