Skip to content

feat: end a Deploy App in its MDM once its deployment is over - #3

Merged
benjamsf merged 9 commits into
mainfrom
feat/end-deployment
Nov 24, 2026
Merged

benjamsf merged 9 commits into
mainfrom
feat/end-deployment

Conversation

@benjamsf

Copy link
Copy Markdown
Member

Description

Removing a Deploy App can now end it in the MDM too: the MDM takes that Deploy App's certificate off the group's phones, and the group, its phones, their names and their apps stay for the next Deploy App. In Fleet this deletes the team's certificate template and then its certificate authority, unless another team's template still uses it. end is a new, optional part of the MDM contract; a plugin made before it is recognised and never called.

Tested by the suite (742 tests, 98 % coverage) and against a live Fleet 4.90.1 on a team without phones: the template deleted, an authority in use kept, an unused one deleted, a second call with nothing left, and a team bound to another address left alone.

User-Facing Changes

End a Deploy App in your MDM when its deployment is over

In the Remove dialog, tick Also end it in Fleet (the line shows your MDM's name) and press End and remove: the phones lose that Deploy App's certificate and stay in your MDM with their names and apps, ready for the next Deploy App. It cannot be undone. On the command line: odmdm-connector end --yes.

Anything Else You'd Like to Mention

Merging releases v1.7.0+261123. Not tried on a phone: that a phone drops the certificate rests on Fleet's own delete dialog and on an earlier replaced template.

@benjamsf
benjamsf merged commit adad53e into main Nov 24, 2026
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant