How to Fix Microsoft 365 Installation Format Errors (0! to 90!)
Question details
Users need to resolve repeated numbered format errors that appear after deploying Microsoft 365 using a custom configuration file.

- Product
- Microsoft 365
- Device & OS
- not provided
- Scenario
- Installing Microsoft 365 using the Office Deployment Tool (ODT) and an XML configuration file.
- Observed behavior
- The installation appears to succeed, but the system repeatedly outputs numbered messages ranging from '0! Format error: invalid format error' through 90.
Make sure you have administrator privileges on the deployment machine and keep a backup copy of your original XML configuration file before editing.
Review and Validate the XML Configuration File
Identify and correct syntax mistakes or unsupported attributes in your deployment XML file that cause format errors.
The Office Deployment Tool is highly sensitive to syntax errors. A single missed quote or unsupported property can trigger repeated format error prompts.
Right-click your XML file and select 'Open with', then choose a plain text editor like Notepad or Visual Studio Code.
Scan the document carefully for missing closing tags, unclosed quotation marks, or misspelled attribute names within the <Configuration> node.
Compare your file against the official Office Deployment Tool options to ensure you aren't using obsolete or unsupported values for your specific Microsoft 365 Business or Personal subscription.
Save your corrected XML file, reopen your Command Prompt as an administrator, and run the deployment command again.

Run the Microsoft Support and Recovery Assistant (SaRA)
Use Microsoft's official diagnostic tool to detect deeper installation or system corruption issues.
Skip Complex XML Deployments with WPS Office
Avoid XML configuration headaches and repeated deployment errors entirely. WPS Office provides a powerful, free, and lightweight alternative to Microsoft 365 that installs in just seconds with a standard setup wizard—no specialized deployment tools required.
- 1. Download the installer: Navigate to the official WPS Office website and download the free installation package.
- 2. Run the setup: Double-click the installer and follow the simple one-click prompt to install the suite.
- 3. Start working immediately: Open WPS Office and seamlessly open your existing Word, Excel, or PowerPoint documents without configuration errors.

Frequently Asked Questions
What causes the '0! Format error: invalid format error' during Microsoft 365 deployment?
This is almost always caused by the Office Deployment Tool attempting to parse an XML configuration file that contains illegal syntax, unclosed brackets, missing quotes, or deprecated deployment values.
Where can I find the installation log for Microsoft 365?
Installation logs for Microsoft 365 deployment are stored in the %temp% directory on Windows. You can access them by typing %temp% into the Windows Run dialog (Win + R) and looking for files ending in '.log'.
Will the Support and Recovery Assistant fix my XML file automatically?
No, the tool repairs system states, background services, and corrupted caches, but it cannot rewrite or correct a custom XML file you created. You must fix the XML syntax manually or generate a new one.
Is there a tool to generate XML files without errors?
Yes, Microsoft provides the Office Customization Tool (OCT) online. It provides a visual interface to select your deployment settings and exports a perfectly formatted, error-free XML file for deployment.




