Hi @Oleg K
Thank you for asking this question on the **Microsoft Q&A Platform. **
I understand that you want to update the apps in the MS Store without user interaction.
I found two viable solutions:
- you can run the following script $namespaceName = "root\cimv2\mdm\dmmap"
$className = "MDM_EnterpriseModernAppManagement_AppManagement01"
$wmiObj = Get-WmiObject -Namespace $namespaceName -Class $className
$result = $wmiObj.UpdateScanMethod()
- You can update apps via Winget, I use these options, and because the App "Photos" doesn´t require administrator privileges it can be possible. This is a post about Winget https://pureinfotech.com/update-apps-winget-windows-11/
Hope this helps,
Carlos Solís Salazar
Accept Answer
and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.
NOTE: To answer you as quickly as possible, please mention me in your reply.