Its a pretty simple question, how do install the Microsoft store via CCM or Intune.
See, for some reason. Our old IT team removed the Store from the current build. I am trying to get co-management setup. I am stuck, I need to be able to install Microsoft Store, in order to install Company portal.
But for the life of me, I can't install the store. I've tried powershell scripts, i've tried packaging a powershell as an app and running that.
I've tried it via intune and CCM. neither work.
Scripts I've tried.
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
and
Get-AppXPackage *WindowsStore* -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
Get-AppXPackage -AllUsers -Name Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml" -Verbose}
Get-AppXPackage | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
PowerShell -ExecutionPolicy Unrestricted -Command "& {$manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest}"
Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"
}
Can someone help me with this? Cos, i've been banging my head against a wall here. And i can't manually go do it to all devices. As there are 4000 plus of them.
Thanks in Advance.