Fix Office Deployment Tool XML Error Installing Teams with Office 2019
Question details
The user wants to install Microsoft Teams alongside Office Professional Plus 2019 using a single Office Deployment Tool (ODT) XML configuration file to streamline deployment.

- Product
- Office Deployment Tool (ODT)
- Device & OS
- not provided
- Scenario
- Deploying desktop Office applications and Microsoft Teams simultaneously in a school or enterprise environment via ODT.
- Observed behavior
- The installation fails because volume-licensed Office 2019 and certain Microsoft 365 licenses (like A1 web-only) have conflicting installation scenarios and licensing requirements for desktop applications.
Verify the exact Microsoft 365 subscription assigned to your users (such as A1, A3, or A5) in the Microsoft 365 admin center, as this dictates desktop app installation rights.
Verify Licensing and Deploy Teams Separately
Use this solution if your users have Microsoft 365 A1 licenses, which only support the web version of Teams and prevent successful desktop deployment via ODT alongside Office 2019 volume licenses.
Microsoft 365 A1 licenses are designed for web-only access. When you attempt to bundle a desktop Teams installation in an XML file alongside Office 2019 Professional Plus, the Office Deployment Tool triggers an error due to incompatible installation scenarios.
Log into the Microsoft 365 Admin Center, go to 'Users' > 'Active users', select a user, and check the 'Licenses and apps' tab to confirm if they are on an A1, A3, or A5 subscription.
If users only have an A1 license, instruct them to log into teams.microsoft.com via their web browser instead of attempting to install the desktop application.
Open your ODT configuration.xml file in a text editor and remove the Microsoft Teams configuration tags to prevent the deployment script from failing.
Run your setup.exe command with the newly modified XML file to deploy Office Professional Plus 2019 without the Teams installation conflict.
For users with valid desktop licenses (like A3 or A5), download the standalone Teams MSI installer and deploy it via Endpoint Configuration Manager or Group Policy.

Update ODT XML for Compatible Microsoft 365 Apps
Use this approach if you decide to upgrade your licensing to fully support desktop applications for both Office and Teams.
Simplify Your Software Deployment with WPS Office
Avoid the complexities of Office Deployment Tool XML files, licensing conflicts, and script errors. WPS Office offers a unified, lightweight installation package that works instantly without complicated deployment configurations.
- 1. Visit the official website: Navigate to the WPS Office official website in your browser.
- 2. Download the installer: Click the 'Free Download' button to securely download the lightweight installation package.
- 3. Install and deploy: Run the installer. The single application provides access to Writer, Spreadsheet, and Presentation instantly, skipping complex XML setups.

Frequently Asked Questions
Why does installing Teams with Office 2019 via ODT fail?
Office 2019 uses different installation scenarios and licensing models compared to Microsoft 365 subscriptions. Bundling volume-licensed Office 2019 and a subscription-based desktop application like Teams in a single ODT XML file often triggers deployment conflicts.
Can I use a Microsoft 365 A1 license to install the Teams desktop app?
No, the Microsoft 365 A1 license only provides access to the web-based versions of Office apps and Teams. You must use A3 or A5 licenses for full desktop application deployments.
How do I exclude Teams from my Office Deployment Tool installation?
You can exclude Teams by inserting the <ExcludeApp ID="Teams" /> tag under your Product configuration in the configuration.xml file before running the ODT setup script.
Where can I find the official XML configuration documentation?
Microsoft hosts the official Office Deployment Tool documentation on the Microsoft Learn portal, which outlines supported product IDs, update channels, and app exclusion tags.




