Remove Retiring Microsoft 365 Companion Apps (Calendar, People, Files) Before December 16, 2026: Intune Remediation Scripts

✨ Endpoint Brief — Microsoft 365 Companion Apps Retirement (December 16, 2026)
  • What's retiring: The taskbar-pinned Microsoft 365 companion apps (Calendar, People and Files) stop working on December 16, 2026 and won't receive further updates. No mailbox, contact or file data is deleted, since it all lives in Exchange Online, Entra ID and OneDrive/SharePoint.
  • Three admin actions: (1) untick auto-install in the Microsoft 365 Apps admin center, (2) remove any Intune assignments so the apps aren't reinstalled, (3) deploy an Intune Remediation that removes the Microsoft.M365Companions package for all users and deprovisions it.
  • One package, three apps: All three companions ship in a single AppX package, so removing it removes Calendar, People and Files together.

Microsoft is retiring the Microsoft 365 companion apps, the lightweight Calendar, People and Files apps that sat on the Windows 11 taskbar. Leaving a retired app on thousands of endpoints means broken taskbar icons, help desk tickets, and an unpatched package in your software inventory. This guide gives you a clean, auditable removal path with Intune before the December 16 cutoff.


Removal Workflow

1. Stop Auto-Install config.office.com Modern App settings Untick auto-install 2. Remove Assignments Intune > Apps > Windows Required + Available No reinstall loop 3. Remediation Detect: exit 1 if present Remove -AllUsers + Deprovision image 4. Report ✔ Without issues ✔ Issues fixed Before Dec 16 Run as SYSTEM in 64-bit PowerShell. Package: Microsoft.M365Companions

Step 1: Disable Automatic Installation (Microsoft 365 Apps Admin Center)

  1. Sign in to the Microsoft 365 Apps admin center (https://config.office.com).
  2. Go to Customization → Device Configuration → Modern App Settings → Microsoft 365 companion apps.
  3. Clear Enable automatic installation of Microsoft 365 companion apps and save.

Step 2: Remove Intune App Assignments

If you deployed the companions as an Intune app, Intune will keep reinstalling them while assignments exist:

  1. Intune admin center → Apps → Windows, then open the companion apps entry.
  2. Properties → Assignments → Edit: delete Required and Available for enrolled devices assignments.
  3. Optionally add an Uninstall assignment for the same groups. The remediation below covers devices where the apps were installed by other means.

Step 3: Intune Remediation Scripts

Create a remediation under Intune admin center → Devices → Scripts and remediations → Remediations → Create. Use these settings:

  • Run this script using the logged-on credentials: No (run as SYSTEM)
  • Enforce script signature check: per your policy
  • Run script in 64-bit PowerShell: Yes
  • Schedule: Daily until December 16, then hourly for a week if you still see stragglers

Detection script (Detect-M365Companions.ps1)

POWERSHELL
<#
.SYNOPSIS
    Intune Remediation detection: exits 1 if the Microsoft 365 companion apps package
    is installed for any user or provisioned in the OS image.
#>
$PackageName = "Microsoft.M365Companions"

try {
    $Installed   = Get-AppxPackage -Name $PackageName -AllUsers -ErrorAction Stop
    $Provisioned = Get-AppxProvisionedPackage -Online -ErrorAction Stop |
        Where-Object { $_.DisplayName -eq $PackageName }

    if ($Installed -or $Provisioned) {
        $users = ($Installed.PackageUserInformation.UserSecurityId.Username | Sort-Object -Unique) -join ', '
        Write-Output "Found: Installed=$([bool]$Installed) Provisioned=$([bool]$Provisioned) Users=$users"
        exit 1
    }

    Write-Output "Not present"
    exit 0
}
catch {
    Write-Output "Detection error: $($_.Exception.Message)"
    exit 1
}

Remediation script (Remove-M365Companions.ps1)

POWERSHELL
<#
.SYNOPSIS
    Intune Remediation: removes the Microsoft 365 companion apps (Calendar, People, Files)
    for all users and deprovisions the package so new profiles don't receive it.
#>
$PackageName = "Microsoft.M365Companions"
$Log = "$env:ProgramData\Microsoft\IntuneManagementExtension\Logs\Remove-M365Companions.log"

function Write-Log([string]$Message) {
    $line = "{0:u}  {1}" -f (Get-Date), $Message
    Add-Content -Path $Log -Value $line
    Write-Output $line
}

try {
    # Stop running companion processes so removal doesn't fail on locked files
    Get-Process | Where-Object { $_.Path -like "*$PackageName*" } |
        Stop-Process -Force -ErrorAction SilentlyContinue

    $Installed = Get-AppxPackage -Name $PackageName -AllUsers
    foreach ($pkg in $Installed) {
        Write-Log "Removing $($pkg.PackageFullName) for all users"
        Remove-AppxPackage -Package $pkg.PackageFullName -AllUsers -ErrorAction Stop
    }

    $Provisioned = Get-AppxProvisionedPackage -Online | Where-Object { $_.DisplayName -eq $PackageName }
    foreach ($prov in $Provisioned) {
        Write-Log "Deprovisioning $($prov.PackageName)"
        Remove-AppxProvisionedPackage -Online -PackageName $prov.PackageName -ErrorAction Stop | Out-Null
    }

    if (-not (Get-AppxPackage -Name $PackageName -AllUsers)) {
        Write-Log "Microsoft 365 companion apps removed successfully"
        exit 0
    }
    Write-Log "Package still present after removal attempt"
    exit 1
}
catch {
    Write-Log "Remediation error: $($_.Exception.Message)"
    exit 1
}
Testing note: When we ran the detection script from a non-elevated session on a LAB 365 workstation, it failed with Access is denied (0x80070005). That's expected, because Get-AppxPackage -AllUsers and Get-AppxProvisionedPackage -Online need admin rights, so the script exits 1 by design. Intune Remediations run as SYSTEM, which avoids this. Test locally from an elevated prompt, and pilot the remediation on a small device group that has the companions installed before you assign it broadly.

Step 4: Track Progress

  • Remediations report: Watch Without issues, With issues and Issues fixed on the remediation's Device status blade. The detection output column shows which user profiles still had the package.
  • Discovered apps: Intune → Apps → Monitor → Discovered apps and search for M365Companions to confirm the count trends to zero.

What to Tell Users

  • Calendar and People: use Outlook (new Outlook for Windows or classic) and Teams.
  • Files: use File Explorer (OneDrive/SharePoint shortcuts), Windows Search, or the Microsoft 365 app.
  • Natural-language search: Microsoft 365 Copilot can find meetings, people and files for licensed users.
  • No data loss: removing the companions doesn't delete any mail, contacts, meetings or files.


References & Official Microsoft Documentation

💬 Reader Comments & Feedback

Did this runbook help, or did Microsoft change a cmdlet or UI menu? Share your feedback below.