-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration Guide
This guide explains the XML configuration files used by the M365 Apps Deployment Toolkit and how to customize them for your specific deployment needs.
The toolkit uses XML configuration files that control how Microsoft 365 Apps are installed. These files are processed by the Office Deployment Tool (ODT) and provide detailed instructions about:
- Which products to install
- Which applications to include or exclude
- Update channels
- Language settings
- Installation behaviors
- And more
The toolkit includes several pre-configured XML files:
| File | Purpose |
|---|---|
config\install-office365.xml |
Standard Microsoft 365 Apps installation |
config\install-visio.xml |
Microsoft Visio installation |
config\install-project.xml |
Microsoft Project installation |
config\uninstall-office365.xml |
Uninstalls Microsoft 365 Apps |
config\uninstall-visio.xml |
Uninstalls Microsoft Visio |
config\uninstall-project.xml |
Uninstalls Microsoft Project |
config\uninstall-consumer.xml |
Uninstalls consumer versions of Office |
The <Product ID> element specifies which Microsoft product to install:
<Product ID="O365BusinessRetail">
<!-- Configuration for Microsoft 365 Apps for Business -->
</Product>Common product IDs include:
| Product ID | Description |
|---|---|
O365BusinessRetail |
Microsoft 365 Apps for Business |
O365ProPlusRetail |
Microsoft 365 Apps for Enterprise |
VisioProRetail |
Visio Professional |
VisioStdRetail |
Visio Standard |
ProjectProRetail |
Project Professional |
ProjectStdRetail |
Project Standard |
ProPlus2021Volume |
Office LTSC Professional Plus 2021 |
Standard2021Volume |
Office LTSC Standard 2021 |
The Channel attribute in the <Add> element defines which update channel to use:
<Add Channel="MonthlyEnterprise">Available channels:
| Channel | Description | Update Frequency |
|---|---|---|
Current |
Current Channel | Monthly with new features |
MonthlyEnterprise |
Monthly Enterprise Channel | Monthly with new features, but on a more predictable schedule |
SemiAnnual |
Semi-Annual Enterprise Channel | New features twice per year (January and July) |
SemiAnnualPreview |
Semi-Annual Enterprise Channel (Preview) | Preview of next Semi-Annual release |
The <Language> element specifies which language(s) to install:
<!-- Option 1: Match system language (recommended) -->
<Language ID="MatchOS" />
<!-- Option 2: Specific language -->
<Language ID="en-us" />
<!-- Option 3: Multiple languages -->
<Language ID="en-us" />
<Language ID="fr-fr" />
<Language ID="es-es" />To exclude specific applications from the installation, use the <ExcludeApp> element:
<!-- Core Office Apps - Uncomment to exclude -->
<ExcludeApp ID="Access" /> <!-- Access database tool -->
<ExcludeApp ID="Excel" /> <!-- Excel spreadsheet -->
<ExcludeApp ID="OneNote" /> <!-- OneNote notebook -->
<ExcludeApp ID="Outlook" /> <!-- Outlook email client -->
<ExcludeApp ID="PowerPoint" /> <!-- PowerPoint presentation -->
<ExcludeApp ID="Publisher" /> <!-- Publisher desktop publishing -->
<ExcludeApp ID="Word" /> <!-- Word document editor -->
<!-- Additional Tools - Uncomment to exclude -->
<ExcludeApp ID="OneDrive" /> <!-- OneDrive sync client -->
<ExcludeApp ID="Teams" /> <!-- Microsoft Teams -->
<ExcludeApp ID="Bing" /> <!-- Microsoft Search in Bing -->The Level attribute in the <Display> element controls the user interface during installation:
<!-- No UI (silent installation) -->
<Display Level="None" AcceptEULA="TRUE" />
<!-- Full UI -->
<Display Level="Full" AcceptEULA="TRUE" />
<!-- No UI and suppress error messages -->
<Display Level="None" AcceptEULA="TRUE" SuppressModal="TRUE" />The <Updates> element controls whether Office receives automatic updates:
<!-- Enable automatic updates (default) -->
<Updates Enabled="TRUE" />
<!-- Disable automatic updates (not recommended) -->
<Updates Enabled="FALSE" />
<!-- Force update by a specific time (UTC timezone) -->
<Updates DeadLine="YYYY-MM-DDThh:mm:ssZ" />You can set various installation properties with the <Property> element:
<!-- Automatically activate if credentials available -->
<Property Name="AUTOACTIVATE" Value="1" />
<!-- Enable shared computer activation (for RDS/VDI) -->
<Property Name="SharedComputerLicensing" Value="1" />
<!-- Pin Office apps to the Windows taskbar -->
<Property Name="PinIconsToTaskbar" Value="TRUE" />
<!-- Force running Office apps to close during installation -->
<Property Name="FORCEAPPSHUTDOWN" Value="TRUE" /><Configuration ID="6dbbe3cd-54c5-4e05-9b7f-0123922eb34f">
<Add Channel="MonthlyEnterprise">
<Product ID="O365BusinessRetail">
<Language ID="MatchOS" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
</Product>
</Add>
<Display Level="None" AcceptEULA="TRUE" />
<RemoveMSI />
</Configuration><Configuration>
<Add Channel="MonthlyEnterprise">
<Product ID="O365BusinessRetail">
<Language ID="MatchOS" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
</Product>
<Product ID="VisioProRetail">
<Language ID="MatchOS" />
</Product>
<Product ID="ProjectProRetail">
<Language ID="MatchOS" />
</Product>
</Add>
<Display Level="None" AcceptEULA="TRUE" />
<RemoveMSI />
</Configuration><Configuration>
<Add Channel="Current">
<Product ID="O365BusinessRetail">
<Language ID="en-us" />
<ExcludeApp ID="Groove" />
<ExcludeApp ID="Lync" />
<ExcludeApp ID="Teams" />
</Product>
</Add>
<Display Level="None" AcceptEULA="TRUE" />
<RemoveMSI />
</Configuration><Configuration>
<Remove>
<Product ID="O365BusinessRetail">
<Language ID="MatchOS" />
</Product>
</Remove>
<Display Level="None" AcceptEULA="TRUE" />
</Configuration>To create a custom configuration:
- Start with one of the included XML files as a template
- Modify the elements described above as needed
- Save the file with a descriptive name in the
configfolder - Reference your custom configuration when running the toolkit:
.\Install-Microsoft365Apps.ps1 -ConfigXMLPath "config\my-custom-config.xml"Before deploying to multiple machines, test your custom configuration:
- Run the toolkit with the
-DetectOnlyparameter to ensure detection works - Test on a single machine to verify the installation is as expected
- Check installed applications and update settings after installation
For more detailed information on Office Deployment Tool configuration options, see:
- Office Deployment Tool Configuration Options
- Microsoft 365 Apps deployment options
- Channel options for Microsoft 365 Apps
- Keep it simple: Only customize what you need to change
- Document your changes: Add comments to your XML files
- Maintain version control: Track changes to your configuration files
- Test thoroughly: Verify configurations before large-scale deployment
- Consider user needs: Balance feature exclusions with user requirements
- Plan update channels: Choose update channels based on business needs
- Language planning: Consider multilingual environments if needed