Update Microsoft applications for Mac by using msupdate
Microsoft AutoUpdate (MAU) version 3.18 and later includes the msupdate command-line tool. The msupdate tool can be used to start the update process for Microsoft applications produced for Mac, such as Office. The tool is primarily designed to give IT administrators more precise control over when updates are applied. You can download the latest version of MAU from this link.
msupdate works by using native XPC to communicate with the MAU daemon. On macOS 10.14 Mojave and later, you might see a privacy prompt when running msupdate for the first time. If you're using an enterprise management tool such as Jamf Pro, you should deploy a Privacy Preferences Policy Control (PPPC) payload to preapprove access. Samples of such a payload can be downloaded from GitHub.
Use the following steps to start using the tool:
- Open the Terminal application
- Enter
cd /Library/Application\ Support/Microsoft/MAU2.0/Microsoft\ AutoUpdate.app/Contents/MacOS
- Run
./msupdate --help
The following options are displayed:
usage: msupdate <command> [<args> ...] <modifier>
Commands:
-h | --help Show usage information
-c | --config Display current AutoUpdate configuration
-l | --list List available updates for installed Microsoft applications
-i | --install Download and install available updates
Modifiers:
-a | --apps <app> Install specific application updates
-v | --version <app> Only update to a specific version
-w | --wait <secs> Number of seconds to wait for action to complete before returning the current state of the install command
-f | --format Format output results in the specified format
p | plist Property list format
-t | --terminate <secs> Number of seconds to wait before closing opened applications in order for updates to complete
-m | --message <msg> Optional message to display on macOS banner notification to notify user
Note
The --version
option is only supported for the following application updates: Word, Excel, PowerPoint, Outlook,OneNote
Examples of how to use msupdate
- Display the current configuration parameters for MAU:
./msupdate --config
- Display the current configuration parameters in machine-readable format:
./msupdate --config --format plist
- List all available updates:
./msupdate --list
- Download and install all available updates:
./msupdate --install
- Download and install the latest updates for Word, Excel, and PowerPoint:
./msupdate --install --apps MSWD2019 XCEL2019 PPT32019
- Download and install a version-specific update for Outlook:
./msupdate --install --apps OPIM2019 --version 16.17.180090901
- Download and install latest available updates for Excel, wait for 180 seconds (3 minutes) before closing Excel, and display "Excel will close in 3 minutes to install updates." on macOS banner notification to notify user:
./msupdate --install --apps XCEL2019 -t 180 -m "Excel will close in 3 minutes to install updates."
Note
To use the -t and -m modifiers, you must be using Microsoft AutoUpdate 4.24 or later.
Application identifiers
The following table lists the Microsoft applications for Mac supported by MAU. The identifier is used when specifying the --apps
parameter. When specifying multiple applications on the command-line, separate identifiers with a space.
Application | Identifier |
---|---|
Excel | XCEL2019 |
Intune Company Portal | IMCP01 |
Licensing helper tool | OLIC02 |
MAU | MSau04 |
Microsoft Defender for Consumers | WDAVCONSUMER |
Microsoft Defender for Endpoint | WDAV00 |
Microsoft Defender Shim | WDAVSHIM |
OneDrive | ONDR18 |
OneNote | ONMC2019 |
Outlook | OPIM2019 |
PowerPoint | PPT32019 |
Quick Assist | MSQA01 |
Remote Desktop | MSRD10 |
Remote Help | MSRH01 |
Skype for Business | MSFB16 |
Teams 1.0 classic | TEAMS10 |
Teams 2.1 | TEAMS21 |
Word | MSWD2019 |
Note
- The identifiers for the Office apps, such as Word and Outlook, can be used for the following versions:
- Microsoft 365 for Mac
- Office LTSC for Mac 2024 (volume license)
- Office LTSC for Mac 2021 (volume license)
- If an update is pending for MAU itself, that update must be applied before any applications can be updated.
- Identifiers are not case-sensitive when run interactively from the command-line, but use the character casing in the table when running from a management tool such as Jamf Pro.
- Microsoft Teams might use MAU to provide updates in some scenarios, such as if the Teams updater fails. But, you can't use msupdate to have MAU manage updates for Teams, because Teams doesn't provide admins the ability to deploy and manage updates. Instead, Teams is updated automatically approximately every two weeks with new features and quality updates. For more information, see Teams update process.