Office Cleanup and M365 Deployment
Purpose
The Purpose of this solution is to provide a single solution to uninstall any version of Office and to install M365 apps
Associated Content
| Content | Type | Function |
|---|---|---|
| cPVAL Enable Office Cleanup and M365 Deployment | Custom Field | Custom field to enable/disable the office cleanup and M365 Deployment. |
| cPVAL Office Versions to Uninstall | Custom Field | Custom field to specify the Office Version that needs to be Uninstalled. If this custom field is blank on all device,location and Organization level, Script - Office Cleanup and M365 Deployment will use the script parameter Versions to Uninstall, if its also blank, script will uninstall all installed versions. |
| cPVAL Xmlpath | Custom Field | Custom Field to specify XML file to be used for Microsoft 365 installation. If this custom field is blank on all device,location and Organization level, Script - Office Cleanup and M365 Deployment will use the script parameter XMLPath, if its also blank, script will use the default configuration. |
| Office Cleanup and M365 Deployment | Script | This Script uninstalls any version of Office and installs M365 apps |
| Execute - Office Cleanup and M365 Deployment | Compound condition | Executes the Script - Office Cleanup and M365 Deployment only when 'cPVAL Enable Office Cleanup and M365 Deployment' is enabled. |
Implementation
- Create the following custom fields using the implementation instruction provided in the document.
- Create the script Office Cleanup and M365 Deployment using the implementation instruction provided in the document.
- Create the compound condition Execute - Office Cleanup and M365 Deployment using the implementation instruction provided in the document.
Changelog
2026-30-04
- Initial version of the document