fleet icon indicating copy to clipboard operation
fleet copied to clipboard

ABM pre-existing devices enroll into “Unassigned” fleet instead of platform-designated fleet

Open chrstphr84 opened this issue 8 months ago • 2 comments

Fleet versions

  • Discovered: 4.83.0
  • Reproduced: 4.80.0, 4.82.0, 4.82.1

Web browser and operating system: Chrome 145.0.7632.162


💥  Actual behavior

When Apple Business Manager (ABM) is connected to Fleet, devices that already existed in ABM and were assigned to the Fleet MDM server create “ghost” entries on first sync (expected behavior).

Because ABM settings in Fleet are not available until ABM is set up, it is not possible to define platform-specific fleet assignments for devices that were already assigned to the server prior to setup. As a result, these ghost entries are automatically placed in the “Unassigned” fleet.

After ABM is configured and platform-specific fleets are defined, this behavior does not retroactively apply to those pre-existing devices. These devices remain in “Unassigned” and follow that fleet’s Setup Experience instead of the intended platform-specific fleet.

While this behavior is technically consistent with the documentation (i.e., devices manually assigned to a fleet prior to enrollment will retain that assignment), it does not align with implied functionality. In this scenario, the assignment to the “Unassigned” fleet is not an intentional action by the admin, and there is no clear indication or explanation as to why these devices are not placed into the configured platform-specific fleets. This creates a confusing and potentially misleading experience, particularly for admins migrating existing devices into Fleet.

Impact/Use Cases:

  • Devices that are wiped or re-provisioned may enroll into the wrong fleet (e.g., “Unassigned”) and receive an incorrect Setup Experience.
  • Organizations migrating to Fleet with existing ABM devices will see inconsistent fleet assignment unless manually corrected.

🛠️ To fix

  • Devices should enroll into the fleet configured for their platform in ABM settings, unless manually assigned to a fleet prior to enrollment (as described the documentation).
  • If current behavior is maintained, provide clear UI indication that these devices were auto-assigned prior to ABM configuration, and they will not inherit platform-specific fleet settings. Documentation should be clarified, as auto-assignment is not mentioned and this behavior is being treated as an imposed manual assignment.

Deferring to Product to determine the appropriate path forward

🧑‍💻  Steps to reproduce

These steps:

  • [x] Have been confirmed to consistently lead to reproduction in multiple Fleet instances.
  • [ ] Describe the workflow that led to the error, but have not yet been reproduced in multiple Fleet instances.
  1. Ensure Fleet is set up without ABM connected.
  2. In ABM assign one or more devices to the Fleet MDM server.
  3. Connect ABM to Fleet (ABM syncs upon connecting).
  4. Observe that pre-existing ABM devices appear as ghost entries in the “Unassigned” fleet.
  5. Configure platform-specific fleet assignments in Fleet's ABM settings.
  6. Enroll one of the devices, observe device does not transfer to platform-specific fleet configured in ABM settings.

🕯️ More info (optional)

  • This issue only affects devices that were assigned to the Fleet MDM server in ABM before ABM was set up in Fleet.
  • Devices assigned to the server after ABM is connected behave correctly.

Current workaround to correct fleet assignment:

  1. Unassign devices from the MDM server in ABM
  2. Delete the corresponding ghost entries from the “Unassigned” fleet in Fleet
  3. Reassign devices to the MDM server in ABM

chrstphr84 avatar Mar 17 '26 23:03 chrstphr84

This issue has been automatically tagged as unreleased. If this is is incorrect, you may replace the label with ~released-bug. If this is correct, or might be correct, move this bug onto the appropriate product board to get a fix underway.

github-actions[bot] avatar Mar 17 '26 23:03 github-actions[bot]

Ghost entries appear, Fleet's path unclear, needs light, Guide them to their right.

fleet-release avatar Apr 25 '26 01:04 fleet-release