Force Microsoft Store apps to update
-
I've been hitting a bunch of machines lately that need updated and one thing I noted was that the Store apps were seeming to never update by themselves while I had the device.
I could manually log in and open the Store app, and then click through to the updates and then tell it to update. But man that is a pain..
A little searching and I found this gem. Execute this, it takes a while to return, and then the Store apps begin to update in the background immediately.
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
-
@JaredBusch said in Force Microsoft Store apps to update:
I've been hitting a bunch of machines lately that need updated and one thing I noted was that the Store apps were seeming to never update by themselves while I had the device.
I could manually log in and open the Store app, and then click through to the updates and then tell it to update. But man that is a pain..
A little searching and I found this gem. Execute this, it takes a while to return, and then the Store apps begin to update in the background immediately.
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Why don't you just turn on the update apps automatically option?
There's also a policy setting.
-
@Obsolesce said in Force Microsoft Store apps to update:
@JaredBusch said in Force Microsoft Store apps to update:
I've been hitting a bunch of machines lately that need updated and one thing I noted was that the Store apps were seeming to never update by themselves while I had the device.
I could manually log in and open the Store app, and then click through to the updates and then tell it to update. But man that is a pain..
A little searching and I found this gem. Execute this, it takes a while to return, and then the Store apps begin to update in the background immediately.
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Why don't you just turn on the update apps automatically option?
There's also a policy setting.
I thought that was ON by default?
-
@Dashrender said in Force Microsoft Store apps to update:
@Obsolesce said in Force Microsoft Store apps to update:
@JaredBusch said in Force Microsoft Store apps to update:
I've been hitting a bunch of machines lately that need updated and one thing I noted was that the Store apps were seeming to never update by themselves while I had the device.
I could manually log in and open the Store app, and then click through to the updates and then tell it to update. But man that is a pain..
A little searching and I found this gem. Execute this, it takes a while to return, and then the Store apps begin to update in the background immediately.
Get-CimInstance -Namespace "Root\cimv2\mdm\dmmap" -ClassName "MDM_EnterpriseModernAppManagement_AppManagement01" | Invoke-CimMethod -MethodName UpdateScanMethod
Why don't you just turn on the update apps automatically option?
There's also a policy setting.
I thought that was ON by default?
I assume it is. Because systems do eventually update. The key there is eventually....