MicrosoftDocs / Windows-Admin-Center-Ideas-and-Feedback

Windows Admin Center's hub for ideas and feedback.
Creative Commons Attribution 4.0 International
20 stars 9 forks source link

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

Open ghost opened 2 years ago

ghost commented 2 years ago

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.
trungtran-msft commented 2 years ago

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

ghost commented 2 years ago

yes, I refreshed.

trungtran-msft commented 2 years ago

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.

ghost commented 2 years ago

HAR file

ghost commented 2 years ago

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.

soyfrien commented 2 years ago

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.

roblaw80 commented 2 years ago

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

RebeccaMbulaMs commented 2 years ago

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

aireynol commented 2 years ago

Same issue.

mpetr commented 1 year ago

same here. WAC 1.3.2204.19002 on Windows Server 2022

rogergh commented 1 year ago

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.

ghost commented 1 year ago

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 commented 1 year ago

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