Managing Microsoft Office 365 Apps with Tanium

Thanks to Patrick Tilsen for his contributions to this article.

The Microsoft Office suite has evolved over the years, expanding the number of included apps and its functionality. Notably, the deployment and patching of Microsoft Office has significantly changed with the introduction of “Click-to-Run" and the complex subscription model of Microsoft 365.

The legacy installation of the Office suite used MSI technology and Microsoft Updates, which were known quantities for installation and patching. Microsoft Office 365, now called Microsoft 365 Apps, requires a different approach for planning, distribution, installation, and updating (patching) using the “Click-to-Run" model.

In March 2021, Tanium released Deploy software packages for Office Click-to-Run to the Deploy Package Gallery. This article will detail how you can use these to manage Microsoft 365 Apps.

Requirements

Tanium Deploy 2.6.173 or newer.

Background

Before deploying Office, there are several options and custom configurations that must be considered as summarized below. The Office Configuration Tool provides a complete list of available configurations and options.

Channels

Microsoft 365 Apps have several simultaneously supported versions of Office called channels. Each customer must choose which channel(s) they wish to use based upon their goals and tolerance for new features. Some channels update with new features every month while others focus on monthly security fixes and bug fixes with new features added less frequently. Additionally, the supported lifecycle of the channel varies.

Read more about the available Microsoft 365 Apps channels and their attributes.

Additional Products and Language Packs

Additional products can be licensed for a subset of users, such as Visio and Project. Furthermore, language packs can also be deployed to support users' locales. By default, Tanium’s Office Click-to-Run software packages install en-us and do not include additional products.

Installing Microsoft 365 Apps with Tanium Deploy

Deploying a new installation of Microsoft 365 Apps can be as simple as importing the desired channel from the Deploy Predefined Package Gallery:
Office Package Gallery
After importing the desired channel, Tanium Deploy will download the necessary installation files for you to begin your deployment. Follow the normal package deployment procedures to install Microsoft 365 Apps on your targeted systems.This installation will generate a default configuration to install the Microsoft 365 Apps. Depending on your needs you may need to customize the installation package for your environment.

Customizing Microsoft 365 Apps Installation

Customers may want to customize the installation of the Microsoft 365 Apps, such as supplying licensing options or product keys, or adding additional products and language packs. The Tanium Deploy Office Click-to-Run Gallery software packages support customization by allowing you to add a configuration.xml file which you can generate using the Office Customization Tool.

The Office Customization Tool allows you to specify the products, features, licensing, languages, and other options, generating an exported configuration file. After you have built and exported your configuration you will need to save the file with the name configuration.xml and then add it to the package:

  1. Import the Office package for your channel and architecture from the Deploy Predefined Package Gallery (for example, Office Click-to-Run Current Channel (x64)).

  2. Open the imported package and click Copy. Imported gallery packages are Tanium Managed, so make your changes to a copy.
    Copy Package
  3. In the copy, expand Package Files, click Add Package Files, and select Local File.

  4. Pick the configuration.xml and make sure the File Display Name is configuration.xml.
    Package Files
  5. Save the new package.

Now that you have provided your own customization to the software package, deploy it using the install operation to a test machine. Verify that your custom configuration has been applied for the installed version of Microsoft 365 Apps. Once you have confirmed the customized Office installation, you are ready to expand your deployment to additional endpoints.

If multiple configurations are needed, such as one including Visio for one department, or language packs for a specific location, simply create a copy of the software package and upload the appropriate configuration.

Updating Microsoft 365 Apps with Tanium Deploy

The default installation of Microsoft 365 Apps allows the suite to automatically update with the Microsoft Office content delivery network (CDN). However, some endpoints may be unable to quickly update through this method due to lack of Internet access, the update mechanism being disabled, or some other problem on the endpoint. You can quickly and easily use the Office Click-to-Run software packages from the Deploy Predefined Package Gallery to update (or patch) the existing installations to the latest version of the installed channel:

  • Import the latest version of the Microsoft Office Click-to-Run software package for your channel and architecture from the Deploy Predefined Package Gallery

  • Deploy the imported software package using the Update operation to your targeted computer group(s).

The Office Click-to-Run software packages will automatically update any existing Office apps to the deployed version. Customization for locale, language packs, edition, or installed products is not necessary.

Log Information

The Office Click-to-Run software packages log activity to a separate log file that contains detailed execution information:<TaniumClient>\Tools\SoftwareManagement\logs\Install-ClicktoRunOffice.log

Microsoft’s Office 365 Setup logs are in %windir%\temp\<computername>-YYYYMMDD-hhmm.log. You may wish to use the ULS Log Viewer utility from Microsoft to make parsing the Setup log easier.

Additional Resources

https://docs.microsoft.com/en-us/deployoffice/deployment-guide-microsoft-365-apps https://docs.microsoft.com/en-us/deployoffice/overview-update-channels https://docs.microsoft.com/en-us/office365/servicedescriptions/office-365-platform-service-description/office-365-plan-options