Nick Thomas - 28.06.202220220628

Deploying Microsoft 365 Apps with Microsoft Intune

How to Deploy Microsoft 365 Apps with Microsoft Intune

Following on from my previous blog The Ultimate Guide to Microsoft Intune I was recently tasked with deploying multiple applications using Microsoft Intune. One of the applications was Microsoft 365 Apps (previously known as Microsoft Office 365 Pro Plus). There are two methods of deployment available using Intune:

Deploying Microsoft 365 Apps via Microsoft Endpoint Manager

The first is straightforward and trouble-free. 

  1. Log into the Microsoft Endpoint Manager admin center; which can be found here: https://endpoint.microsoft.com/ 
  2. Browse to the Apps section on the left menu
  1. Click Windows Apps, then Add
  2. Select Microsoft 365 Apps (Windows 10 and later) from the drop-down menu
  3. Add any notes to the App suite information in step 1 and click Next
  4. Step 2 allows you to Configure the app suite such as selecting which Microsoft Office Apps are deployed, which update channel is used, etc. This will look like the following:
  1. You’ll notice one of the options is “Remove other versions” – this is where some issues can occur. One of the reasons I have written this blog is because I have found that this quite often does not work, so this blog explores an additional solution to deploy Microsoft 365 Apps to your devices.
  2. If you do not have other versions of Microsoft Office installed on your device this is a great way to deploy Office. Follow the wizard to the next section and target your assigned devices, groups or users for deployment.

Deploying Microsoft 365 Apps as a Win32 App

The alternative way to deploy Microsoft 365 Apps is as a Win32 App. This is like the deployment method using SCCM (Microsoft System Center Configuration Manager) on-premises.

  1. The first thing to do is to download the Office Deployment Tool (ODT) which can be found here: Download Office Deployment Tool from Official Microsoft Download Center
  2. Next, you will need to extract the contents to a folder which will contain setup.exe and three XML files. These files can be used as templates or you can delete them if you want to create your own XML configuration file.
  3. You can create your own XML file using Microsoft’s config.office.com website: Office Customization Tool – Microsoft 365 Apps admin center – on this page, there are several configuration items to choose from. An important point to note is to Uninstall any MSI versions of Office, including Visio and Project, which sits in the Upgrade options within Update and upgrade (more information can be found here: Configuration options for the Office Deployment Tool – Deploy Office | Microsoft Docs
  4. Once you have made your selections, export the settings which will allow you to download a new XML file. The settings will look something like this:
  1. You will also need to create an uninstall XML file as well, which is as simple as this:
  1. You should now have three files in your folder: install.xml, uninstall.xml and setup.exe
  2. Package these files using the Microsoft Win32 Content Prep Tool which can be found here: GitHub – microsoft/Microsoft-Win32-Content-Prep-Tool. This tool is used to wrap the Win32 App and which can then be uploaded to Intune
  3. Now we are ready to start using Endpoint Manager to create the App
  4. This time, select Windows App (Win32) from the dropdown menu when creating
  5. Now select your newly created App package file, and fill out the appropriate information in step 1
  6. In step 2 you will need to enter the following for the Install and Uninstall Commands:
  7. Enter Install command: setup.exe /configure install.xml
  8. Enter Uninstall command: setup.exe /configure uninstall.xml
  9. Enter Install behavior: System
  10. In step 5, you need to add a detection rule to stop Office being deployed every time a device checks in. The simplest way to do this is to select Manually configure detection rules
  11. Add a rule – Registry 
  12. In the Key path, enter:  HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallO365ProPlusRetail – en-gb
  13. Value name: DisplayName
  14. Detection method: Value exists
  15. Continue through the rest of the steps and assign your app to your required devices, groups or users.

If you need any further advice, please contact us at Insentra.


Join the Insentra Community with the Insentragram Newsletter

Hungry for more?