Fleet version: Observed in Fleet's dogfood environment (commit 66b992e)
💥 Actual behavior
On 2024-02-14, @rfairburn and I ran the sudo profiles renew -type enrollment command on his macOS host to renew the SCEP client certificate. The SCEP client certificate had expired (more context here).
After waiting several minutes, all the expected profiles (Workstations team) were installed on Robert's macOS host.
However, there was one macOS profiles that wasn't removed: "Ad tracking"
Here's the full list of profiles:


🧑💻 Steps to reproduce
- Add a macOS host to Fleet
- Add some profiles
- Renew the host's SCEP cert
- Transfer the host to a different team and transfer it back to redeliver profiles
🕯️ More info (optional)
The current hypothesis is that we added the "Add tracking" profile (the ones that weren't removed) before we built features in Fleet to keep track of the expected profiles.
Thus, Fleet doesn't know that Robert's macOS host has some extra profiles that need to be removed.
🛠️ To fix
Fleet version: Observed in Fleet's dogfood environment (commit
66b992e)💥 Actual behavior
On 2024-02-14, @rfairburn and I ran the
sudo profiles renew -type enrollmentcommand on his macOS host to renew the SCEP client certificate. The SCEP client certificate had expired (more context here).After waiting several minutes, all the expected profiles (Workstations team) were installed on Robert's macOS host.
However, there was one macOS profiles that wasn't removed: "Ad tracking"
Here's the full list of profiles:
🧑💻 Steps to reproduce
🕯️ More info (optional)
The current hypothesis is that we added the "Add tracking" profile (the ones that weren't removed) before we built features in Fleet to keep track of the expected profiles.
Thus, Fleet doesn't know that Robert's macOS host has some extra profiles that need to be removed.
🛠️ To fix