# DelegatedManagedServiceAccount

| Field                                     | Type    | Possible Operators                                                       | Description                                                                                                                                                                                                                                                                                                                                                                           |
| ----------------------------------------- | ------- | ------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Guid**                                  | TEXT    | `LIKE`,`NOT_LIKE EQUAL`,`NOT_EQUAL`,`IS_EMPTY`                           | A unique identifier that is a combination of GUID of selected `Scan` and Active Directory `ObjectGUID` of the object.                                                                                                                                                                                                                                                                 |
| **Name**                                  | TEXT    | `LIKE`,`NOT_LIKE EQUAL`,`NOT_EQUAL`,`IS_EMPTY`                           | Name of the specified object. (**Ldap Display Name**: name)                                                                                                                                                                                                                                                                                                                           |
| **FSName**                                | TEXT    | `LIKE`,`NOT_LIKE EQUAL`,`NOT_EQUAL`,`IS_EMPTY`                           | A special unique identifier that is a combination of the `Name of the object` and the `Fully Qualified Domain Name of the Domain`.                                                                                                                                                                                                                                                    |
| **IsEnabled**                             | BOOLEAN | `N/A`                                                                    | Indicates whether the account is enabled.                                                                                                                                                                                                                                                                                                                                             |
| **HasConstrainedDelegation**              | BOOLEAN | `N/A`                                                                    | Indicates whether the Constrained Delegation is activated on the object.                                                                                                                                                                                                                                                                                                              |
| **IsStealth**                             | BOOLEAN | `N/A`                                                                    | Indicates that the object can compromise admin objects with at least one attack path.                                                                                                                                                                                                                                                                                                 |
| **LogonCount**                            | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | The number of times the account has successfully logged on. This attribute is not replicated to other Domain Controllers. (**Ldap Display Name**: logonCount)                                                                                                                                                                                                                         |
| **PrimaryGroupID**                        | TEXT    | `LIKE`,`NOT_LIKE EQUAL`,`NOT_EQUAL`,`IS_EMPTY`                           | Contains the relative identifier (RID) for the primary group of the object. (**Ldap Display Name**: primaryGroupID)                                                                                                                                                                                                                                                                   |
| **UserAccountControl**                    | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | Flags that control different attributes and behavior of the objects. (**Ldap Display Name**: userAccountControl) ([Field Reference](https://learn.microsoft.com/en-us/windows/win32/adschema/a-useraccountcontrol))                                                                                                                                                                   |
| DSCorePropagationData                     | TEXT    | `LIKE`,`NOT_LIKE EQUAL`,`NOT_EQUAL`,`IS_EMPTY`                           | Stores replication metadata to ensure sensitive changes are correctly propagated across domain controllers.                                                                                                                                                                                                                                                                           |
| **PasswordExpirationDate**                | DATE    | `SMALLER`, `LARGER`, `BETWEEN`, `EQUAL`                                  | The expiration date of the object's password.                                                                                                                                                                                                                                                                                                                                         |
| **IsSensitive**                           | BOOLEAN | `N/A`                                                                    | Indicates whether the object's NOT\_DELEGATED bit of UserAccountControl is set. This attribute is used to disable Kerberos delegations for objects.                                                                                                                                                                                                                                   |
| **IsUsingDESAlgorithmForHashing**         | BOOLEAN | `N/A`                                                                    | Indicates whether the object is using an insecure DES algorithm in Kerberos protocol.                                                                                                                                                                                                                                                                                                 |
| **IsAdmin**                               | BOOLEAN | `N/A`                                                                    | Indicates that the object is Admin.                                                                                                                                                                                                                                                                                                                                                   |
| **IsPasswordExpired**                     | BOOLEAN | `N/A`                                                                    | Indicates whether the object's password is expired and should be changed.                                                                                                                                                                                                                                                                                                             |
| **WhenCreated**                           | DATE    | `SMALLER`, `LARGER`, `BETWEEN`, `EQUAL`                                  | The date when this object was created. (**Ldap Display Name**: whenCreated)                                                                                                                                                                                                                                                                                                           |
| **HasResourceBasedConstrainedDelegation** | BOOLEAN | `N/A`                                                                    | Indicates whether the Resource Based Constrained Delegation is activated on the object.                                                                                                                                                                                                                                                                                               |
| msDSManagedAccountPrecededByLink          | TEXT    | `LIKE`,`NOT_LIKE EQUAL`,`NOT_EQUAL`,`IS_EMPTY`                           | Back-links computers or services using a Managed Service Account, helping track dependencies and ensure updates like password changes are applied correctly.                                                                                                                                                                                                                          |
| **Cn**                                    | TEXT    | `LIKE`,`NOT_LIKE EQUAL`,`NOT_EQUAL`,`IS_EMPTY`                           | The name that represents an object. Used to perform searches. (**Ldap Display Name**: cn)                                                                                                                                                                                                                                                                                             |
| **AllowedtoDelegateSpn**                  | TEXT    | `LIKE`,`NOT_LIKE EQUAL`,`NOT_EQUAL`,`IS_EMPTY`                           | Contains Service Principal Name definitions in the context of Constrained Delegation. (**LDAP Display Name**: msDS-AllowedToDelegateTo)                                                                                                                                                                                                                                               |
| **HasUnconstrainedDelegation**            | BOOLEAN | `N/A`                                                                    | Indicates whether the Unconstrained Delegation is activated on the object.                                                                                                                                                                                                                                                                                                            |
| **session\_count**                        | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | Indicates that how many sessions the object has on computers.                                                                                                                                                                                                                                                                                                                         |
| **MsDSSupportedEncryptionTypes**          | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | The encryption algorithms supported by user, computer or trust accounts. The KDC uses this information while generating a service ticket for this account. Services and Computers can automatically update this attribute on their respective accounts in Active Directory, and therefore need write access to this attribute. (**LDAP Display Name**: msDS-SupportedEncryptionTypes) |
| **IsProtected**                           | BOOLEAN | `N/A`                                                                    | Indicates that the object is a direct or nested member of the Protected Users group.                                                                                                                                                                                                                                                                                                  |
| **IsPrivileged**                          | BOOLEAN | `N/A`                                                                    | Indicates that the object is Privileged.                                                                                                                                                                                                                                                                                                                                              |
| **ObjectSid**                             | TEXT    | `LIKE`, `EQUAL`, `NOT_EQUAL`                                             | Active Directory security identifier of object. (**Ldap Display Name**: objectSid)                                                                                                                                                                                                                                                                                                    |
| **first\_degree\_localadmin\_count**      | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | Indicates that the account has explicit local admin privilege on how many computers.                                                                                                                                                                                                                                                                                                  |
| LocalPolicyFlags                          | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | Internal flags for special object or policy states.                                                                                                                                                                                                                                                                                                                                   |
| **HasReversibleEncryption**               | BOOLEAN | `N/A`                                                                    | Indicates whether the object is using reversible encryption instead of hash to keep credentials.                                                                                                                                                                                                                                                                                      |
| **BadPwdCount**                           | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | The number of times the object tried to log on to the account using an incorrect password. (**Ldap Display Name**: badPwdCount)                                                                                                                                                                                                                                                       |
| **AdminCount**                            | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | Indicates that a given object has had its ACLs changed to a more secure value by the system because it was a member of one of the administrative groups (directly or transitively). (**Ldap Display Name**: adminCount)                                                                                                                                                               |
| **risk**                                  | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | The risk score of the object that calculated based on vulnerability counts and severities.                                                                                                                                                                                                                                                                                            |
| **DistinguishedName**                     | TEXT    | `LIKE`,`NOT_LIKE EQUAL`,`NOT_EQUAL`,`IS_EMPTY`                           | Active Directory distinguished name of the object. (**Ldap Display Name**: distinguishedName)                                                                                                                                                                                                                                                                                         |
| **HasProtocolTransition**                 | BOOLEAN | `N/A`                                                                    | Indicates whether the Constrained Delegation with Protocol transition is activated on the object.                                                                                                                                                                                                                                                                                     |
| **SidHistory**                            | TEXT    | `LIKE`,`NOT_LIKE EQUAL`,`NOT_EQUAL`,`IS_EMPTY`                           | Contains previous SIDs used for the object if the object was moved from another domain. Whenever an object is moved from one domain to another, a new SID is created and that new SID becomes the objectSID. The previous SID is added to the sIDHistory property. (**Ldap Display Name**: sIDHistory)                                                                                |
| **SAMAccountType**                        | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | Specifies the account type of the security principal objects in Active Directory. (**LDAP Display Name**: sAMAccountType) ([Field Reference](https://learn.microsoft.com/en-us/windows/win32/adschema/a-samaccounttype))                                                                                                                                                              |
| **DNSHostName**                           | TEXT    | `LIKE`,`NOT_LIKE EQUAL`,`NOT_EQUAL`,`IS_EMPTY`                           | Full qualified domain name of group managed service account as registered in DNS. (**Ldap Display Name**: dNSHostName)                                                                                                                                                                                                                                                                |
| **DontReqPreauth**                        | BOOLEAN | `N/A`                                                                    | Indicates whether the Kerberos Pre-Authentication mechanism was disabled for the object.                                                                                                                                                                                                                                                                                              |
| **MsDSManagedPasswordInterval**           | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | This attribute is used to retrieve the number of days before a managed password is automatically changed for a group MSA. (**Ldap Display Name**: msDS-ManagedPasswordInterval)                                                                                                                                                                                                       |
| **group\_delegated\_localadmin\_count**   | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | Indicates that the object has group delegated local admin privilege on how many computers.                                                                                                                                                                                                                                                                                            |
| **IsLocalAdmin**                          | BOOLEAN | `N/A`                                                                    | Indicates that the object is a member (direct or nested) of a local administrators group in at least one computer.                                                                                                                                                                                                                                                                    |
| **DontReqPasswd**                         | BOOLEAN | `N/A`                                                                    | Indicates whether the object's password can be blank.                                                                                                                                                                                                                                                                                                                                 |
| **HasNonExpiringPassword**                | BOOLEAN | `N/A`                                                                    | Indicates whether the object's password is set to never expire.                                                                                                                                                                                                                                                                                                                       |
| CountryCode                               | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | Country/region as a numeric code. It’s Mainly used for localization and telephony settings.                                                                                                                                                                                                                                                                                           |
| CodePage                                  | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | Nnumeric identifier of the character set (code page) used by an object, typically for legacy client or application compatibility.                                                                                                                                                                                                                                                     |
| **HasLocalService**                       | BOOLEAN | `N/A`                                                                    | Indicates whether the object has managing local services (without SPN).                                                                                                                                                                                                                                                                                                               |
| **SAMAccountName**                        | TEXT    | `LIKE`,`NOT_LIKE EQUAL`,`NOT_EQUAL`,`IS_EMPTY`                           | The logon name used to support clients and servers running earlier versions of the operating system, such as Windows NT 4.0, Windows 95, Windows 98, and LAN Manager. (**Ldap Display Name**: sAMAccountName)                                                                                                                                                                         |
| **WhenChanged**                           | DATE    | `SMALLER`, `LARGER`, `BETWEEN`, `EQUAL`                                  | The date when this object was last changed. (**Ldap Display Name**: whenChanged)                                                                                                                                                                                                                                                                                                      |
| **IsInactive**                            | BOOLEAN | `N/A`                                                                    | Indicates whether a computer has been enabled but unused (no logon) for a period longer than the defined inactivity threshold                                                                                                                                                                                                                                                         |
| **LastLogonTimestamp**                    | DATE    | `SMALLER`, `LARGER`, `BETWEEN`, `EQUAL`                                  | The time that the user last logged into the domain. This attribute is replicated to other Domain Controllers but not updated until after 14 (msDS-LogonTimeSyncInterval) days. (**Ldap Display Name**: lastLogonTimestamp)                                                                                                                                                            |
| **ServicePrincipalName**                  | TEXT    | `LIKE`,`NOT_LIKE EQUAL`,`NOT_EQUAL`,`IS_EMPTY`                           | These SPN entries indicate that the computer has Kerberos service identifiers registered for both its hostname and fully qualified domain name under the HOST and RestrictedKrbHost service classes, allowing it to securely participate in Kerberos authentication.                                                                                                                  |
| **ExposurePoint**                         | NUMBER  | `EQUAL`, `BETWEEN`, `SMALLER`, `LARGER`, `SMALLER_EQUAL`, `LARGER_EQUAL` | **ExposurePoint**: A numerical value indicating the level of risk or exposure.                                                                                                                                                                                                                                                                                                        |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.forestall.io/fsprotect/search-and-reports/delegatedmanagedserviceaccount.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
