Skip to content

Frontend: Windows managed local account - #50241

Merged
getvictor merged 49 commits into
mainfrom
victor-48722-windows-mla-frontend
Aug 6, 2026
Merged

Frontend: Windows managed local account#50241
getvictor merged 49 commits into
mainfrom
victor-48722-windows-mla-frontend

Conversation

@getvictor

@getvictor getvictor commented Jul 30, 2026

Copy link
Copy Markdown
Member

Related issue: Resolves #48722

Demo: https://www.youtube.com/watch?v=zm5WmJY-o4Y

Checklist for submitter

If some of the following don't apply, delete the relevant line.

  • Changes file added for user-visible changes in changes/, orbit/changes/ or ee/fleetd-chrome/changes.

Testing

  • Added/updated automated tests
  • QA'd all new/changed functionality manually

Summary by CodeRabbit

  • New Features

    • Added Windows support for creating and managing local administrator accounts.
    • Added a Windows-specific option in user setup when Windows MDM is configured.
    • Added managed-account actions and status visibility for Windows hosts.
    • Added guidance noting that this feature requires fleetd 1.60.0 or later.
  • Improvements

    • Updated local account descriptions, help text, and authentication guidance.
    • Improved managed-account status and password-rotation messaging.
    • Added clearer feedback when account creation or password escrow is pending.

getvictor added 30 commits July 23, 2026 20:57
Adds the server half of the Windows managed local admin account device flow:
the orbit notification that tells fleetd to create the account, the orbit
escrow endpoint that stores the device-generated password, and the host-facing
endpoint changes that let admins retrieve a Windows password.

- Migration: make host_managed_local_account_passwords.command_uuid nullable
  (Windows rows have no MDM command).
- Capability windows_managed_local_account, advertised by Windows fleetd.
- Notification create_windows_managed_local_account, gated on ESP phase, the
  team/No-team setting, the capability, and premium license.
- Escrow endpoint POST /api/fleet/orbit/managed_local_account: verifies the
  host's Windows MDM enrollment, stores the password (verified, NULL
  command_uuid), and logs the created activity. Per OpenSpec it does not reject
  when the setting/license changed after the notification, to avoid orphaning
  the on-device account.
- Host endpoints: retrieval and detail response support Windows without arming
  the auto-rotate timer; rotation stays macOS-only.
…8721-windows-mla-server

# Conflicts:
#	server/datastore/mysql/schema.sql
@getvictor
getvictor marked this pull request as ready for review August 5, 2026 16:03
@getvictor
getvictor requested a review from a team as a code owner August 5, 2026 16:03
@getvictor
getvictor requested a review from juan-fdz-hawa August 5, 2026 16:04
Comment thread frontend/pages/ManageControlsPage/SetupExperience/cards/Users/_styles.scss Outdated
Comment thread frontend/pages/ManageControlsPage/SetupExperience/cards/Users/Users.tsx Outdated

@juan-fdz-hawa juan-fdz-hawa left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done with the first pass

@getvictor

getvictor commented Aug 5, 2026

Copy link
Copy Markdown
Member Author

@juan-fdz-hawa Thank you for the detailed review. I made changes for all of your comments.

And also added error reporting to the tooltip so errors are visible to admin.

@getvictor
getvictor requested a review from juan-fdz-hawa August 5, 2026 21:51
@getvictor
getvictor merged commit 658ebbf into main Aug 6, 2026
26 checks passed
@getvictor
getvictor deleted the victor-48722-windows-mla-frontend branch August 6, 2026 12:05
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.

Windows local admin account: Users page platform tabs and Show managed account for Windows

3 participants