Updating Provisioned LOB Apps
The newer version of the provisioned LOB App
can only be applied by an
> Add-AppxPackage
operation (via powershell) for each user that
has signed into the PC running the Windows image.
SEE MICROSOFT DOCS: https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/sideload-apps-with-dism-s14
You see, provisioning the LOB App will stage it in the image and schedule it be installed for every user of the Windows image at first logon or at the next logon, if the user account is already created. So you cannot rely on it to update the installed application, because all provisioning does, is supply the app to a user if it doesn't already have it installed.
A Possible Workaround
Remove the provisioned LOB App from the image:
> Remove-AppxProvisionedPackage -Online -PackageName MyAppxPkg
Uninstall occurrences of the old version the application from each user that has been active:
> Remove-AppxPackage MyAppxPkg
Provision it again with the new version:
> Add-AppxProvisionedPackage -Online -FolderPath C:\Appx -SkipLicense
Warning: Make sure all users are logged off of the machine (I recommend PSExec with a -s passed so it runs under SYSTEM, and that there are not more than 24 apps provisioned on the image already.