Terme informatique

Managed Service Account

A service account with a password that is automatically managed by Active Directory.

⌚ About 2 min read
View my favorites

Simple definition

A Managed Service Account (MSA) is an Active Directory service account whose password is managed automatically instead of being maintained manually by an administrator.

Technical definition

A traditional MSA is intended for host-bound use and reduces the need to know or manually rotate a service secret. For multi-host scenarios, a gMSA is generally a more suitable model.

How it works / role

The account is created in Active Directory and authorized on the relevant computer. Windows retrieves and rotates the managed secret so the service can authenticate without a static password being maintained in operating procedures.

What is it used for?

Reduce risks associated with traditional service-account passwords and automate secret rotation.

Practical example

A Windows service running on a single server uses an MSA; the administrator grants only the required permissions without managing the account password day to day.

Common issues

  • The account is used on an unauthorized host or in an unsuitable multi-host scenario
  • The application does not properly support this identity type
  • SPN, local rights, or application permissions are insufficient
  • The account has excessive privileges even though its password is managed automatically

gMSA · Least privilege

Key takeaway: An MSA automates the secret, but its permissions must still follow the principle of least privilege.

♡ 0