Removing the pre-installed Office 365 ProPlus Suite with Microsoft Intune
Today I would like to share a method to remove the pre-installed Office 365 ProPlus suite from Microsoft Intune managed devices managed with you.
Recently I’ve been deploying a lot of Surface Go’s with Windows Autopilot and Microsoft Intune in an environment where these devices are shared amongst firstline workers. Most of the firstline workers have an Office 365 F1 or Office 365 E1 license assigned, which do not include the Office Desktop apps, but instead offer the Office Mobile apps.
When we purchased these new Surface devices, or deployed the Surface recovery image to them, we noticed that the factory image already includes the Office 365 ProPlus Suite by default. This is probably the best fit for most organizations, especially when network bandwidth is limited, however for our users, which are not licensed to use these apps, it is confusing that the desktop apps are available on their machines.
Fortunately removing the pre-installed Office 365 ProPlus suite is as easy as deploying it with Microsoft Intune. Lucky for us a removal does not consume as much bandwidth as a deployment does. 🙂
Office Deployment Tool
With the web-based Office Customization Tool (OCT), we can configure the deployment settings for Office 365 ProPlus, and generate the XML data to deploy with Microsoft Intune.
However, the Office Customization Tool does not include all configuration options the Office Deployment Tool has, such as the Remove element. In that case I guess notepad works too. 🙂
With the XML data supplied above, you can remove the Office 365 ProPlus suite from devices managed with Microsoft Intune.
Configuring Microsoft Intune to remove Office 365 ProPlus from devices.
Let’s walk through the Microsoft Intune configuration now.
- From the Microsoft 365 Device Management Portal, select Client Apps.
- In the Client Apps blade that displays, select Apps.
- Click + Add
- In the App type drop-down menu, select Office 365 Suite: Windows 10.
- Modify the Settings format to Enter XML data.
- Configure the App Suite Information.
- Enter the XML data provided in this blog post.
- Add and assign the application to devices where the Office 365 ProPlus suite needs to be removed.
If you are also using Windows Autopilot. Using this deployment method to remove the Office 365 ProPlus suite will also allow you to track the removal during the Enrollment Status Page (from Windows 10, version 1809 and higher.)
Thanks for tuning in! If you have any questions or feedback, please don’t hesitate to reach out to me using the comments section below, or on Twitter @jseerden.
5 thoughts on “Removing the pre-installed Office 365 ProPlus Suite with Microsoft Intune”
Hello,This functionality works correctly?
I have the same problem and I am in the same situation and I do not know how to solve it.Thanks for the explanation.
It works for me! But it really does depend on what type of Office version is preloaded on the devices you are using. I’ve recently stumbled across some HP’s that had the Microsoft Store (appx) version installed. Solved that with the following line embedded in a PowerShell script:
Get-AppxPackage -Name Microsoft.Office.Desktop -AllUsers | Remove-AppxPackage -AllUsers
Hi John, thanks for this very useful piece of information! Would you happen to know if I can subsequently install the preconfigured InTune version with set conditions and fewer suite apps??
You can use the built-in solution in Intune to deploy Office 365 ProPlus, which can first also take care of the removal of other version already installed with the “Remove other versions” switch enabled.
We used below XML in Office app from Intune which uninstalled existing Office from factory image and then installs the new as per XML.