Fleet version: main
Operating system: (e.g. macOS 11.2.3)
Web browser: (e.g. Chrome 88.0.4324)
🧑💻 Expected behavior
A user is able to turn off disk encryption using the cli with no errors.
💥 Actual behavior
The first time a user tries to set disk encryption from on to off an error will occur.
More info
My hunch is that the profile is removed and then some thing is looking for that profile before completing the update.
Loom video of the behavior
https://www.loom.com/share/5053f581b1874fdbb80e539d2399abf2
Fleet server logs:
level=error ts=2023-03-17T01:27:24.930272Z component=http user=admin@example.com method=POST uri=/api/latest/fleet/spec/teams took=57.41325ms err="editing team from spec: disable team filevault and escrow: disabling FileVault: : MDMAppleConfigProfile identifier: com.fleetdm.fleet.mdm.filevault, team_id: 1374412992640 was not found in the datastore" uuid=b5ff9903-b46e-43c2-869f-59dd46325541
Fleet version:
mainOperating system: (e.g. macOS 11.2.3)
Web browser: (e.g. Chrome 88.0.4324)
🧑💻 Expected behavior
A user is able to turn off disk encryption using the cli with no errors.
💥 Actual behavior
The first time a user tries to set disk encryption from on to off an error will occur.
More info
My hunch is that the profile is removed and then some thing is looking for that profile before completing the update.
Loom video of the behavior
https://www.loom.com/share/5053f581b1874fdbb80e539d2399abf2
Fleet server logs: