WSL: Intune published WSL Store app duplicates ID

Windows Version

10.0.22631.5335

WSL Version

2.0.9.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.133.1-1

Distro Version

n/a

Other Software

No response

Repro Steps

Publish the Store UWP WSL app in Company Portal (https://apps.microsoft.com/detail/9p9tqf7mrm4r) and install

> winget list Microsoft.WSL
Name                        Id            Version Available Source
------------------------------------------------------------------
Windows Subsystem for Linux Microsoft.WSL 2.0.9.0 2.4.13    winget
Windows Subsystem for Linux Microsoft.WSL 2.0.9.0           winget

Expected Behavior

WSL store will install the latest and keep the installed up to date

Actual Behavior

WSL is not being kept to the latest revision by Store auto-update possibly because of the ID duplication?

Diagnostic Logs

I don’t believe it is WSL related. May be able to override Store update process w wsl --update but would prefer Store be keeping things up to date.

Not exactly sure where the Intune AgentExecutor stores logs related to Store based UWP app orchestration, but trying to get some more detailed logs.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 16 (4 by maintainers)

Most upvoted comments

Got it and yeah makes sense

Image

A more interesting result came from one of the folks reporting the issue w updates not working

Image

So guessing Intune detection checks areas outside of how winget is checking so we get a disconnect in Intune showing Reinstall action and Installed status. Then trying a Reinstall fails silently because there is an internal error on this MSI v MSIX disconnect. I was poking around DiagOutputDir and expected to see a sign of this, but no exceptions jumping out.

I am sold that the cli error is the real cause, but now I need to figure out how to resolve that for folks trying to install via Intune who have never used winget directly. 😅

Going to count this one as done and keep the manifest as a possible cause of dupes with Store based