Skip to content

Error switching Windows End USer Experience from Automatic to Manual if Migration enabled #36303

@JordanMontgomery

Description

@JordanMontgomery

Fleet version: main during 4.78 dev

Web browser and operating system:


💥  Actual behavior

In Settings->Integrations->MDM->Windows if you have Automatic end user experience + "Automatically migrate hosts connected to another MDM solution" checked, and saved

Image

And then select "manual" and Save. An error is returned because migrate + manual MDM enrollment are both enabled

Image

🛠️ To fix

Frontend should disable the migration option here when enabling manual enrollment so that no error is returned from the backend

🧑‍💻  Steps to reproduce

These steps:

  • 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. Enable Windows MDM and set the end user experience as "Automatic" with "automatically migrate hosts connected to another MDM solution" checked.
  2. Open the dialog again and select "Manual" end user experience
  3. CLick Save
  4. See error

If you uncheck the migration box then click manual, all works as expected

🕯️ More info (optional)

N/A

Metadata

Metadata

Assignees

Labels

#g-mdmMDM product groupbugSomething isn't working as documented~frontendFrontend-related issue.~unreleased bugThis bug was found in an unreleased version of Fleet.

Type

No type

Projects

Status

🦤 ‎In review

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions