Excluding and re-including applications within the Office 365 ProPlus Suite
Published Mar 24 2020 12:27 PM 86.8K Views
Microsoft

When installing Office 365 ProPlus using the Office Deployment Tool (ODT), the standard configuration includes the entire suite of applications by default. In some cases, IT Pros need to exclude one or more of the apps or add back previously excluded ones. The article will go over the various scenarios and provide guidance on how to implement them. These scenarios include:

  • Exclude apps during initial install
  • Remove specific apps after initial install
  • Re-including apps that were previously removed
  • Adding Visio and/or Project after initial ProPlus installation

So, let’s look at each of these scenarios:

 

Exclude apps during initial install

There are two main ways how admins can control which apps are excluded at the initial install of Office 365 ProPlus. First, using the Office Customization Tool (OCT) at https://config.office.com, admins can simply toggle the buttons for the apps they wish to exclude from the initial install:

 

apps.png

 

This will craft the configuration file with the necessary exclusions for you. You can either export and save the file locally or to the cloud and reference this file during setup.

A second way that admins can control which apps are installed at the initial install of Office 365 ProPlus is to leverage the <ExcludeApp ID="APPNAME" /> attribute in the ODT configuration file directly. The names of all the app values are as follows:

  • ID="Access"
  • ID="Excel"
  • ID="Groove" (This is the old sync client for on-Premises SharePoint)
  • ID="Lync" (Skype for Business)
  • ID="OneDrive"
  • ID="OneNote" (OneNote 2016, Win32 app. NOT the UWP Windows 10 app)
  • ID="Outlook"
  • ID="PowerPoint"
  • ID="Publisher"
  • ID="Teams"
  • ID="Word"

A sample configuration file with Groove and OneNote excluded from the install would look like this:

 

 

 

<Configuration>
  <Add OfficeClientEdition="64" Channel="Monthly">
      <Product ID="0365ProPlusRetail">
        <Language ID="MatchOS" />
        <ExcludeApp ID="Groove" />
        <ExcludeApp ID="OneNote" />
      </Product>
  </Add>
</Configuration>

 

 


With either method at install time, Office 365 ProPlus will be installed with the selected apps excluded. You can verify by looking at this registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\ClickToRun\Configuration
O365ProPlusRetail.ExcludedApps
registry.png
Or simply by checking the start menu and noticing those applications are not present.   

Remove specific apps after initial install

If Office 365 ProPlus is already installed on a device or devices and you need to remove one or more of the apps, you can use the same method as above. However, there are a couple things to keep in mind.

  • You can use Version=”MatchInstalled” to eliminate the need to keep track of the Architecture and Servicing Channel as this attribute will read the existing values and honor them. This can cut down on the number of configuration files needed in environments with multiple Office 365 ProPlus configurations.
  • Setup.exe and the configuration file will need access to the Office source files. Either from the Microsoft CDN (Recommended) or internally by including them in a Configuration Manager application. Click-to-Run Office does not cache source files like the MSI version did in the MSOCache location.

warning.png
If you had previously excluded an app or apps at initial install time, and wish to keep them excluded, you must continue to exclude them via the <ExcludeApp…/> section of the new configuration file you create along with whichever app or apps you now also want to exclude. Failure to do so will result in those applications being present and usable by your users.

 

The below example configuration file, leveraging “MatchInstalled” would remove Access from the device after initial install:

 

 

 

<Configuration>
  <Add Version="MatchInstalled">
    <Product ID="O365ProPlusRetail">
      <Language ID="MatchOS" />
      <ExcludeApp ID="Access" />
    </Product>
  </Add>
</Configuration>

 

 

 

Like the warning pointed out, running the above configuration will result in Access excluded and ONLY ACCESS EXCLUDED. If you had previously excluded apps such as Groove or OneNote 2016 from your initial install and now wish to exclude Access while keeping Groove and OneNote 2016 also excluded, you must have all three applications called out like in this example:

 

 

 

<Configuration>
  <Add Version="MatchInstalled">
    <Product ID="O365ProPlusRetail">
      <Language ID="MatchOS" />
      <ExcludeApp ID="Access" />
      <ExcludeApp ID="Groove" />
      <ExcludeApp ID="OneNote" />
    </Product>
  </Add>
</Configuration>

 

 

Re-including apps that were previously removed


This is very similar to the above scenario. Since Office 365 ProPlus does not include or exclude applications in the traditional sense, but rather asks “what do you want the suite to look like after this configuration?” So therefore If you excluded an app at initial install or post install and now wish to add it back in, you will use a similar configuration to the above example leaving any other apps still excluded you want to remain that way.

Consider this scenario: The IT Pro excluded Access, Groove and OneNote 2016 at initial install and now wishes to add OneNote 2016 back into the suite but leave Access and Groove still excluded. The example configurations would look like this:

 

 

 

Initial install Configuration:

<Configuration>
  <Add OfficeClientEdition="64" Channel="Monthly">
      <Product ID="O365ProPlusRetail">
        <Language ID="MatchOS" />
        <ExcludeApp ID="Access" />
        <ExcludeApp ID="Groove" />
        <ExcludeApp ID="OneNote" />
      </Product>
  </Add>
</Configuration>
Second install Configuration:

<Configuration>
  <Add Version="MatchInstalled">
      <Product ID="O365ProPlusRetail">
        <Language ID="MatchOS" />
        <ExcludeApp ID="Access" />
        <ExcludeApp ID="Groove" />
      </Product>
  </Add>
</Configuration>

 

 

Adding Visio and/or Project after initial ProPlus installation


Visio and Project operate in a different manner as they are different Product ID’s. These products cannot be added or excluded with the <ExcludeApp/> attribute. They can be added after the initial install by using a configuration file with Visio and/or Project as the <add Product ID> value. You must match the servicing channel and version of Click to Run architecture (64/32-bit) to prevent making unwanted changes. Better yet, you can leverage the power of the CDN and the new <MatchInstalled> attribute to do the heavy lifting here. Deploying Visio and/or Project from the Microsoft CDN after installing Office 365 ProPlus is very bandwidth friendly as most of the shared files are already installed.

Here is an example configuration of adding Visio and Project to device after Office 365 ProPlus has already been deployed:

 

 

<Configuration>
  <Add Version="MatchInstalled">
    <Product ID="ProjectProRetaill">
      <Language ID="MatchOS" />
      <ExcludeApp ID="Groove" />
    </Product>
   <Product ID="VisioProRetaill">
      <Language ID="MatchOS" />
      <ExcludeApp ID="Groove" />
    </Product>
  </Add>
</Configuration>

 

 

warning.png

Notice in the above example I have excluded Groove from both Product sections. Groove, OneDrive and Teams operate slightly different at install time and if not excluded from each product they will get installed along with Office 365 ProPlus, Visio and Project Click-to-Run.

 

The Author

This blog post is brought to you by Eric Wayne, a Sr. Office Deployment expert and ProPlus Ranger at Microsoft. Feel free to share your questions and feedback in the comments below.

12 Comments
Brass Contributor

Thanks  for the post. I am especially interested in the "Remove specific apps after install". I would like to remove Sfb now as we have begun to make the full transition to Teams. I have attempted the options as presented but I have been unsuccessful. Here is my config xml and a picture of what I receive when it is run.


<Configuration>
<Add Version="MatchInstalled">
<Product ID="O365ProPlusRetail">
<Language ID="MatchOS"
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
</Product>
</Add>
<Display Level="Full" />
</Configuration>

 

2021-04-23_7-18-11.png

Hey Quinn, it looks like the issue appears to be caused by an error in the XML file. You did not close Language ID with />. Try again with the following and see if it works:

 

<Configuration>
<Add Version="MatchInstalled">
<Product ID="O365ProPlusRetail">
<Language ID="MatchOS" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
</Product>
</Add>
<Display Level="Full" />
</Configuration>

Copper Contributor

After using the Office 365 Client Management, Office 365 Installer to author an Office 365 deployment with SCCM/EndPoint excluding Teams and Outlook, both applications are installed anyway. 

 

<ExcludeApp ID="Outlook"/>

<ExcludeApp ID="Teams"/>

 

The config item are in the configuration.xml, but this does not seem to prevent these from being installed when deploying the Office 365 application in Device mode. 

Does anyone have any experience with this, can assist?

 

Thank you.

Copper Contributor

Now I know how to efficiently add PROJECT365 to my existing OFFICE365 deployment,

how do I specifically remove PROJECT and leave OFFICE (Word, Outlook ect.) intact?

Microsoft

Hi HorNet505,

 

You could use something like this example to remove Project with the Office deployment tool:

 

<Remove All="FALSE">

<Product ID="ProjectProRetail >

<Language ID="en-us" />

</Product>

</Remove>

 

More info on that here: 
Configuration options for the Office Deployment Tool - Deploy Office | Microsoft Learn

Copper Contributor

for whatever reason I missed THAT page on MS LEARN :D

Thanks a lot.

My current workaround is to use the Uninstaller string from the Registry with the no interaction switch.

Copper Contributor

putting this to an xml file does not work. No Popup whatsoever and the setup.exe closes imediately

 

<Remove All="FALSE">
<Product ID="VisioProRetail">
</Product>
</Remove>

 

 

Copper Contributor

ah I might have fogotten the "configuration" line but this leads to a pop up, even the machine indeed has enough space and internet.

 

<Configuration
<Remove All="FALSE">
<Product ID="VisioProRetail">
</Product>
</Remove>
</Configuration>

ODT.png

Copper Contributor

update:

For the sake of completeness I managed to uninstall it with this config:

 

<Configuration>
<Info Description="Uninstall Products" />
<Remove ALL="false" OfficeClientEdition="32">
<Product ID="VisioProRetail">
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
</Product>
</Remove>
<Display Level="none" />
</Configuration>

Brass Contributor

I'm having trouble adding Publisher to an existing install done with Intune.  We used the built-in M365 Apps application type in Intune, which initially excluded Publisher:

 

egoodman_0-1703691114483.png

 

Now to add Publisher back, I am deploying the ODT along with the following XML file to attempt to add Publisher back.  

 

<Configuration>
<Add Version="MatchInstalled">
<Product ID="O365ProPlusRetail">
<Language ID="MatchOS"/>
<ExcludeApp ID="Access"/>
<ExcludeApp ID="Groove"/>
<ExcludeApp ID="Lync"/>
<ExcludeApp ID="Bing"/>
</Product>
</Add>
<Display Level="Full" AcceptEULA="TRUE"/>
</Configuration>
 
I am deploying this as a Intune Win32 app.  The command line is "setup.exe /configure publisher.xml" and I do see the progress show up without any error message.  But after it completes, Publisher is not added. 
 
Any ideas or suggestions?
 

 

Copper Contributor

imho you do not need to EXCLUDE but make a separate config file for PUBLISHER only.

f.e. like my config, which adds VISIO ONLINE.

Afte you sucessfully included it I would bake a separate config for new clients, which includes all you need.

Hope that helps

 

<Configuration ID="4ca97687-6b15-4ef3-94f9-5fb5d4c4d610">
<Info Description="Visio E2" />
<Add OfficeClientEdition="32" Channel="MonthlyEnterprise" >
<Product ID="LanguagePack">
<Language ID="de-de" />
<Language ID="en-us" />
</Product>
<Product ID="VisioProRetail">
<Language ID="de-de" />
<Language ID="en-us" />
</Product>
</Add>
<Property Name="SharedComputerLicensing" Value="0" />
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" />
<Property Name="DeviceBasedLicensing" Value="0" />
<Property Name="SCLCacheOverride" Value="0" />
<Updates Enabled="TRUE" />
<RemoveMSI />
<AppSettings>
<Setup Name="Company" Value="Contoso" />
</AppSettings>
</Configuration>

Brass Contributor

Thanks for the reply, I tried that too using PublisherRetail as the ProductID.  It did perform the install, but I noticed that it added "Publisher 2016" as a separate entry in add/remove and it didn't appear to be part of the O365 suite as compared to a fresh install which includes Publisher.  Meaning, if I do a fresh install of O365 without excluding Publisher then it's bundled with O365 and is not listed as a separate entry in Add/Remove.  I'm not sure the ramifications of this being installed as a separate product but I was worried it wasn't correct.  It seems there is a difference between ProductID and ExcludeApp, since one is mentioned as a Product and one is an App?  Perhaps if there was an "IncludeApp" keyword in the XML that would work better.

 

At any rate, after all that - my subsequent tests seemed to work OK using the original XML that I mentioned in my first post.  Not sure if something went wrong with Intune during my first test but I tried 2 more times using the XML which "de-excludes" Publisher and that seems to do the trick now.  WHEW! :)

 

Co-Authors
Version history
Last update:
‎Feb 10 2023 12:28 PM
Updated by: