Installing Microsoft Office from SCCM is not something new, there are many ways to do this. It was supported from long old days from SCCM 2007. But nature of this product is not to upgrade its previous version when you install a new version. In the example when you have Office 2016 installed on your PC, it will not remove or upgrade when you install Office Pro Plus, both products will run side by side.
So the answer is simple, you have to uninstall the current version and install the new one. There are many ways to do this and I found several blogs explaining this step by step. But most of them are very complex and not simple to deploy from SCCM. So, I have combined a few of them and came up with this solution. I used the Offscrub scripts with PowerShell command and deployed it using SCCM Task Sequence.
This solution first uninstalls the current Office version, Offscrub scripts supports Office 2003 to 2016. Then it will restart the machine. After the restart, the installation of the latest Office 365 Pro Plus version will start using the latest Office 365 servicing package. I tried this in production and it worked like a fairy tale.
Deploying the Uninstallation and installation of Office is much more reliable with Task Sequence deployment, here I have added a restart after the uninstall. So, installation starts fresh. After the restart, it may take few minutes depending on your environment to start the installation. Also, I deployed the task sequence as available, this will give more control to the system admin.
powershell.exe -ExecutionPolicy Bypass -Command .\Remove-PreviousOfficeInstalls.ps1 -Quiet $False -Remove2016Installs $True -KeepUserSettings $True -NoReboot $True
That’s it, hope this post will support your migration to Office 365.
Cheers