Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ADE enrollment profile not assigned to devices, blocking enrollment #27854

Open
ddribeiro opened this issue Apr 3, 2025 · 0 comments
Open

ADE enrollment profile not assigned to devices, blocking enrollment #27854

ddribeiro opened this issue Apr 3, 2025 · 0 comments
Assignees
Labels
bug Something isn't working as documented customer-beatrix customer-deebradel customer-fourier #g-mdm MDM product group :incoming New issue in triage process. :reproduce Involves documenting reproduction steps in the issue

Comments

@ddribeiro
Copy link
Member

Fleet version: 4.64, 4.65 (possible earlier versions)
Web browser and operating system: macOS 15


💥  Actual behavior

3 Fleet customers have reported several of their Macs did not display the Remote Management screen during the macOS Setup Assistant as expected. The Macs were correctly assigned to the Fleet server in Apple Business Manager and synced to Fleet as expected.

After going through the Setup Assistant, we had the customers run sudo profiles show -type enrollment to see what enrollment profile was assigned to the device. The computers return null.

One customer was able to reach out to Apple for support. They were told that the last action taken for one of the affected devices was a Remove Profile request. They did not see any Assign Profile requests from Fleet for that device.

Fleet support was able to resolve the issue for affected hosts by modifying the enrollment profile for the team the hosts are assigned to. The change in enrollment profile would've caused Fleet to assign a new profile for all hosts in that team.

🧑‍💻  Steps to reproduce

  1. In Apple Business Manager, assign your host to your Fleet server.
  2. Observe the host gets populated into Fleet via the ABM sync.
  3. Power on the host and connect it to the internet. Proceed through the Setup Assistant. When this issue occurs, the computer will not show the Remote Management screen. It will not enroll into Fleet during the Setup Assistant.
  4. Once the computer is set up, run sudo profiles show -type enrollment to retrieve the enrollment profile that Apple has assigned to the host's serial number. In situations where this issue occurs, the response will be null instead of the JSON contained in the enrollment profile.
  5. To resolve, modify the enrollment profile for the team the host is assigned to. Wait ~1 minute, then run sudo profiles show -type enrollment again. The command should return the new enrollment profile.

🕯️ More info (optional)

  • I believe the customers were using a mix of the default enrollment profile and a custom one uploaded to Controls > Setup experience > Setup assistant. In all situations, the issue was resolved by modifying the enrollment profile (removing the existing one or uploading a new one).
  • I was not able to find anything in the logs for these customers that indicated Fleet attempted to assign the profile (@ksatter please keep me honest on this). Likewise, there were no errors related to profile assignment.
@ddribeiro ddribeiro added #g-mdm MDM product group :incoming New issue in triage process. :reproduce Involves documenting reproduction steps in the issue bug Something isn't working as documented customer-deebradel customer-fourier customer-beatrix labels Apr 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as documented customer-beatrix customer-deebradel customer-fourier #g-mdm MDM product group :incoming New issue in triage process. :reproduce Involves documenting reproduction steps in the issue
Projects
None yet
Development

No branches or pull requests

2 participants