Skip to content
Ketan Kamble
Ketan Kamble
Modern Workplace Architect

Read-only Intune & Entra tooling, in the open, and what the portal is doing underneath.

MD-102 SC-300 Speaker · WNUG Finland

Autopatch Client Broker is retiring, and Remove won't take it off devices straight away

Windows Autopatch Client Broker is retiring. The Intune Remove option deletes the app from Intune, and devices lose it either through an Uninstall assignment or through an app update Microsoft plans for shortly after 1 February 2027

Microsoft is retiring the Windows Autopatch Client Broker (MC1577060, KB5138362), and nothing needs to change to keep Autopatch working. It should disappear from devices with an app update Microsoft plans for shortly after 1 February 2027. Until then, Intune has a removal option for it under Manage client broker, and its Remove button does less than the name suggests: it deletes the app from Intune without immediately uninstalling it from devices.

If you'd rather have it off your connected devices sooner, uninstall it before you delete it.

How this was tested Written from Microsoft's announcements and documentation. I haven't reproduced it in my lab.

How I got it onto every device

Client Broker didn't install for me at first. Installs only started working once I got the Autopatch endpoints allowed through the proxy and firewall. Microsoft's manual install script first downloads a manifest from device.autopatch.microsoft.com, with a blob storage address as a fallback. If neither is reachable, the script stops before installing.

Then I wanted to be sure every device had it, so I packaged Client Broker as a Win32 app and assigned it as Required to all devices. I also kept checking that it was installed and healthy. I was guessing that would keep devices from turning up under the Device diagnostic data not received alert in Autopatch.

Now Microsoft is retiring it, and KB5138362 is about the app Intune calls Windows Autopatch Client Broker. My package isn't that app.

The retirement timeline

Client Broker was originally there to run a device readiness check plugin that reported to the Autopatch service, and to collect diagnostic logs automatically for support requests. Autopatch no longer requires it, and there's no replacement to deploy.

When What happens
1 December 2026 to 1 February 2027 A temporary removal option in Intune, under Tenant administration > Tenant management > Actions > Manage client broker. It reaches tenants at different times.
Shortly after 1 February 2027 An app update is planned to remove Client Broker from devices as they connect and become eligible.

There's no per-device date. If the new option hasn't reached your tenant yet, Manage client broker still links to the existing Client Broker page. Once it has, it opens a removal pop-up, and Cancel leaves the app where it is.

Remove only touches Intune

Removing Client Broker from devices is the job of that planned app update, unless an Uninstall assignment has already taken it off. A device that stays offline can't get the update and might keep the app.

If all you want is a tidy app list in Intune, Remove is enough.

Uninstall first, then delete

These steps work during the temporary removal window and at any time after it:

  1. Go to Apps > Windows > Windows apps and open Windows Autopatch Client Broker.
  2. Under Properties > Assignments, move every group from Required to Uninstall and save. Leaving a Required assignment in place could reinstall it while Intune uninstalls it.
  3. Under Overview, watch Device install status and User install status until neither shows Installed.
  4. Delete the app.

KB5138362 uses the same order, and I'd stick to it. Deleting the app takes its assignments with it, so there'd be nothing left to send the uninstall.

For devices that are often offline, you can keep the Uninstall assignment in place longer, or use the PowerShell script in KB5138362. That script removes Client Broker from the device it runs on and leaves the Intune app and its assignments alone. Read it and try it on a test device before you run it anywhere else.

If you deployed your own Win32 package

The Remove option under Manage client broker only deals with the Intune app named Windows Autopatch Client Broker, and the Learn page doesn't cover your own package. While your Win32 app stays assigned as Required, I'd expect Intune to put Client Broker back after the app update removes it. KB5138362 warns that a Required assignment can reinstall its own app during an uninstall, but it says nothing about yours.

I'm handling my package the same way as the steps above. I'm moving its Required assignment to Uninstall, waiting for the install status to clear, and then deleting it. That only works if the package has a working uninstall command. If yours doesn't, you'll need another way to take it off devices. The KB5138362 script looks for the installed app by the name Windows Autopatch Client Broker, and the KB doesn't say whether the script finds a copy that your own package installed.

Leave the endpoints alone for now. The addresses on Microsoft's Autopatch network list, device.autopatch.microsoft.com included, serve Autopatch as a whole, and you still need them while you use Autopatch. The install script's fallback blob storage address isn't on that list, and I can't find anything saying whether it's still needed after the retirement.

The Device diagnostic data not received alert is the one I was guarding against, and Microsoft's advice for it doesn't mention Client Broker at all: check that diagnostic data is enabled and that the network lets it reach Microsoft endpoints.

Who has it assigned as Required

Step 2 means finding every group that has Client Broker as Required, in Microsoft's app and in any package of your own. The script below pulls the app and its assignments from Graph v1.0 with DeviceManagementApps.Read.All. Like the policy check in my .NET Framework updates report post, it only sends GET requests.

# Uses Invoke-MgGraphRequest from Microsoft.Graph.Authentication.
Connect-MgGraph -Scopes 'DeviceManagementApps.Read.All' -NoWelcome

$base = 'https://graph.microsoft.com/v1.0/deviceAppManagement/mobileApps'
$uri  = $base
$apps = while ($uri) {
    $page = Invoke-MgGraphRequest -Method GET -Uri $uri -OutputType PSObject
    $page.value
    $uri  = $page.'@odata.nextLink'
}

$found = @($apps | Where-Object displayName -like '*Client Broker*')
if (-not $found) { 'No Client Broker app found in Intune.' }

foreach ($app in $found) {
    $result = Invoke-MgGraphRequest -Method GET -Uri "$base/$($app.id)/assignments" -OutputType PSObject
    if (-not $result.value) { "$($app.displayName): no assignments" }
    foreach ($a in $result.value) {
        [pscustomobject]@{
            App     = $app.displayName
            Intent  = $a.intent                     # required, uninstall, available ...
            Target  = $a.target.'@odata.type' -replace '#microsoft.graph.', ''
            GroupId = $a.target.groupId             # empty for all users or all devices
        }
    }
}

It matches any app with Client Broker in its name, which catches a package of your own too unless you named it something else. If it finds nothing, the app may already have been deleted from Intune, and devices can still have it installed until the app update reaches them.

Questions people ask

Do I need to remove Windows Autopatch Client Broker? Only if you want it gone early. Microsoft says Autopatch no longer requires it and nothing needs to change to keep Autopatch working. It plans an app update that removes Client Broker from devices shortly after 1 February 2027.

Does the Remove option uninstall Client Broker from devices? It deletes the app from Intune but doesn't uninstall it from devices straight away. Devices lose it through the later app update, or through an Uninstall assignment if you set one up before deleting the app.

Where is the Client Broker removal option in Intune? Under Tenant administration > Tenant management > Actions > Manage client broker, from 1 December 2026 until 1 February 2027. It reaches tenants at different times.

Does the Remove option cover a Client Broker Win32 app I deployed myself? As far as I can tell, no. The Remove option deletes the Intune app named Windows Autopatch Client Broker. A package you built yourself needs its own Uninstall assignment, or it may put Client Broker back while it's assigned as Required.

Can I remove the Client Broker endpoints from my firewall? Keep the Autopatch ones. Addresses like device.autopatch.microsoft.com are on Microsoft's network list for Autopatch as a whole, and I haven't seen Microsoft say any of them can go after the retirement.

Sources


These are my own notes. Run even a read-only script in a test tenant before production. Independent content, not affiliated with, sponsored by, or endorsed by Microsoft. Microsoft, Windows, Windows Autopatch, Intune and Microsoft Graph are trademarks of the Microsoft group of companies.

← More from the blog