Community scripts
Scripts from Mac admins for downloading, installing, updating and managing Microsoft apps on macOS.
You do not have to write the deployment script yourself. The ones below are maintained in the open by people who run them in production, and several read the same Microsoft feeds that power this site. Pick one, read it, and wire it into your MDM.
5 scriptsinstall, update and remove Office
Open sourceevery one is readable before you run it
Yours next?contributions are welcome
Deploy and manage Office â
Download and install Microsoft productsBy TalkingMoose. Fetches the latest installer from Microsoft's direct links and installs it, with optional SHA256 verification.
Install Microsoft 365 AppsBy Microsoft. From the official Intune shell samples. Downloads and installs the full suite, and works outside Intune too.
Uninstall Office BusinessProBy Microsoft. The matching removal script from the Intune samples. Takes the whole suite off a Mac cleanly.
InstallomatorOne script that installs and updates hundreds of apps, Office included, by label. Verifies signatures and handles updates on a schedule.
Paul Bowden's toolsA collection of scripts for repairing, configuring and automating Office on macOS, from the person who shaped much of Office for Mac deployment.
Add your scriptGot something that saves other admins time? Open a pull request with a link and a line about what it does.
Scripts here are maintained by their authors, not by MOFA. Read a script before you deploy it, and check its repository for the latest version and any open issues.
Looking to fix an install rather than deploy one? The repair tools page has reset and removal scripts for every Office app.