> ## Documentation Index
> Fetch the complete documentation index at: https://syteca.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Service Account Dependency Discovery and Onboarding

> Discover Windows services, scheduled tasks, and IIS application pools running under Active Directory or local Windows accounts, and keep them running through password rotation.

**Service Account Discovery and Onboarding** extends [Account Discovery](/docs/pam/discovery/overview) by detecting **Windows services**, **scheduled tasks**, and **IIS application pools** (collectively, **dependencies**) that run under Active Directory or Windows local accounts. Once dependencies are discovered, Syteca can manage them automatically during **account onboarding** and **remote password rotation** - so services keep running after credentials change.

<Info>
  **Use this when you need to:**

  * Rotate a service account's password without breaking every Windows service, scheduled task, or IIS pool that authenticates with it.
  * Get visibility into which systems and services depend on a given privileged account before you touch its credentials.
  * Discover and track **Group Managed Service Accounts (gMSA)** dependencies, even though gMSA accounts themselves are managed by Active Directory and can't be onboarded.
</Info>

<Note>
  Applies only to **Active Directory Discovery** and **Computer Discovery** rule types. Linux Discovery rules don't support dependency scanning.
</Note>

<Note>
  The Account Discovery page requires the administrative **Privileged Accounts Management** permission and a **PAM seat license**.
</Note>

## 1. Prerequisites

Dependency scanning needs specific permissions and components on each target computer, depending on what's being scanned.

### 1.1 Windows Services - grant "Log on as a service"

For Syteca to discover Windows services running under an account, that account needs the **Log on as a service** right on the target computer.

<Tabs>
  <Tab title="Local Security Policy">
    <Steps>
      <Step title="Open Local Security Policy">
        Press **Win+R**, type `secpol.msc`, press **Enter**.
      </Step>

      <Step title="Navigate to User Rights Assignment">
        Go to **Security Settings > Local Policies > User Rights Assignment**.
      </Step>

      <Step title="Open the policy">
        Double-click **Log on as a service**.
      </Step>

      <Step title="Add the account">
        Click **Add User or Group…**, enter the account name (for example `LocalUser` or `DOMAIN\ServiceAccount`), and click **Check Names**.
      </Step>

      <Step title="Apply">
        Click **OK**, then **Apply**.
      </Step>
    </Steps>

    <Frame caption="Adding an account to the Log on as a service right via Local Security Policy.">
      <img src="https://mintcdn.com/syteca/FKrkO8bEqEQ6WSgs/images/pam/discovery/service-accounts-log-on-as-service-local.png?fit=max&auto=format&n=FKrkO8bEqEQ6WSgs&q=85&s=219c0a90664c213cf237690f10872456" alt="Local Security Policy Add User or Group dialog for Log on as a service" width="783" height="562" data-path="images/pam/discovery/service-accounts-log-on-as-service-local.png" />
    </Frame>
  </Tab>

  <Tab title="Group Policy (multiple machines)">
    <Steps>
      <Step title="Open Group Policy Management">
        Open **Group Policy Management** (`gpmc.msc`) on a Domain Controller.
      </Step>

      <Step title="Edit the target GPO">
        Right-click the GPO applying to your target servers (for example "Default Domain Policy" or a custom OU-scoped GPO) and select **Edit**.
      </Step>

      <Step title="Navigate to User Rights Assignment">
        Go to **Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies > User Rights Assignment**.
      </Step>

      <Step title="Open the policy">
        Double-click **Log on as a service**.
      </Step>

      <Step title="Define and add the account">
        Select **Define these policy settings**, click **Add User or Group…**.

        <Frame caption="Defining the Log on as a service policy in Group Policy Management.">
          <img src="https://mintcdn.com/syteca/FKrkO8bEqEQ6WSgs/images/pam/discovery/service-accounts-log-on-as-service-gpo.png?fit=max&auto=format&n=FKrkO8bEqEQ6WSgs&q=85&s=378b0a71fd4b51b07746521707a164d7" alt="Group Policy Management Editor showing the Log on as a service policy" width="784" height="562" data-path="images/pam/discovery/service-accounts-log-on-as-service-gpo.png" />
        </Frame>
      </Step>

      <Step title="Add the account or group">
        Add your service account, or a dedicated security group (recommended).
      </Step>

      <Step title="Apply">
        Run `gpupdate /force` on the target machines to apply immediately.
      </Step>
    </Steps>
  </Tab>
</Tabs>

### 1.2 Scheduled Tasks - grant "Log on as a batch job"

For Syteca to discover scheduled tasks running under an account, that account needs the **Log on as a batch job** right.

<Tabs>
  <Tab title="Local Security Policy">
    <Steps>
      <Step title="Open Local Security Policy">
        Press **Win+R**, type `secpol.msc`, press **Enter**.
      </Step>

      <Step title="Navigate to User Rights Assignment">
        Go to **Security Settings > Local Policies > User Rights Assignment**.
      </Step>

      <Step title="Open the policy">
        Double-click **Log on as a batch job**.
      </Step>

      <Step title="Add the account or group">
        Click **Add User or Group…**, enter the name (for example `BackupUser` or `NT SERVICE\ALL SERVICES`), and click **OK**.

        <Frame caption="Adding an account to the Log on as a batch job right.">
          <img src="https://mintcdn.com/syteca/FKrkO8bEqEQ6WSgs/images/pam/discovery/service-accounts-log-on-as-batch-job-local.png?fit=max&auto=format&n=FKrkO8bEqEQ6WSgs&q=85&s=3eb9123106d7d0cfb2f857974a14a004" alt="Local Security Policy dialog for Log on as a batch job" width="781" height="561" data-path="images/pam/discovery/service-accounts-log-on-as-batch-job-local.png" />
        </Frame>
      </Step>

      <Step title="Apply">
        Click **Apply**, then **OK**.
      </Step>
    </Steps>
  </Tab>

  <Tab title="Group Policy (multiple machines)">
    <Steps>
      <Step title="Open Group Policy Management">
        Open **Group Policy Management** (`gpmc.msc`).
      </Step>

      <Step title="Edit the target GPO">
        Right-click your target GPO and select **Edit**.
      </Step>

      <Step title="Navigate to User Rights Assignment">
        Go to **Computer Configuration > Policies > Windows Settings > Security Settings > Local Policies > User Rights Assignment**.
      </Step>

      <Step title="Open the policy">
        Double-click **Log on as a batch job**.
      </Step>

      <Step title="Define and add the account">
        Select **Define these policy settings**, click **Add User or Group…**, and add your account.

        <Frame caption="Defining the Log on as a batch job policy via Group Policy.">
          <img src="https://mintcdn.com/syteca/FKrkO8bEqEQ6WSgs/images/pam/discovery/service-accounts-log-on-as-batch-job-gpo.png?fit=max&auto=format&n=FKrkO8bEqEQ6WSgs&q=85&s=c7dffbdccbf989b3f04a2b982943eb20" alt="Group Policy Management Editor showing the Log on as a batch job policy" width="783" height="561" data-path="images/pam/discovery/service-accounts-log-on-as-batch-job-gpo.png" />
        </Frame>
      </Step>

      <Step title="Apply">
        Run `gpupdate /force` on the destination machines.
      </Step>
    </Steps>
  </Tab>
</Tabs>

### 1.3 IIS Application Pools - prerequisites for WMI/PowerShell scanning

<Steps>
  <Step title="Enable IIS Management Scripts and Tools">
    On the target computer, open **Control Panel > Programs > Programs and Features**, click **Turn Windows features on or off**, navigate to **Internet Information Services > Web Management Tools**, and enable **IIS Management Scripts and Tools**.

    <Frame caption="Enabling IIS Management Scripts and Tools in Windows Features.">
      <img src="https://mintcdn.com/syteca/FKrkO8bEqEQ6WSgs/images/pam/discovery/service-accounts-iis-management-tools.png?fit=max&auto=format&n=FKrkO8bEqEQ6WSgs&q=85&s=ddc8ed238e77fcdaf2072e3c6c4fa781" alt="Windows Features dialog showing IIS Management Scripts and Tools" width="782" height="557" data-path="images/pam/discovery/service-accounts-iis-management-tools.png" />
    </Frame>

    Restart the computer.

    <Note>
      IIS version 7 or later is required.
    </Note>
  </Step>

  <Step title="Grant WMI namespace permissions for root\WebAdministration">
    To let the discovery account query IIS configuration via WMI:

    <Steps>
      <Step title="Open WMI Control">
        Press **Win+R**, type `wmimgmt.msc`, press **Enter**.
      </Step>

      <Step title="Open Properties">
        Right-click **WMI Control (Local)**, select **Properties**, and go to the **Security** tab.
      </Step>

      <Step title="Navigate to the namespace">
        Expand the namespace tree to `root\WebAdministration`, select it, and click **Security**.
      </Step>

      <Step title="Add the account">
        Click **Add…**, enter the username or group, and click **OK**.
      </Step>

      <Step title="Grant permissions">
        Select the user or group, and check **Allow** for **Remote Enable** and **Execute Methods** (optionally also **Read Security** and **Provider Write**).

        <Frame caption="Granting Remote Enable and Execute Methods permissions on root\WebAdministration.">
          <img src="https://mintcdn.com/syteca/FKrkO8bEqEQ6WSgs/images/pam/discovery/service-accounts-wmi-namespace-permissions.png?fit=max&auto=format&n=FKrkO8bEqEQ6WSgs&q=85&s=a07846ab6a579f54853b746aeb2ef45f" alt="WMI Control security dialog for the root WebAdministration namespace" width="943" height="718" data-path="images/pam/discovery/service-accounts-wmi-namespace-permissions.png" />
        </Frame>
      </Step>
    </Steps>

    <Note>
      Members of the local **Administrators** group already have the required WMI permissions - these steps are only needed for non-administrator accounts.
    </Note>
  </Step>
</Steps>

## 2. Configure discovery rules to scan for dependencies

When adding or editing an **Active Directory Discovery** or **Computer Discovery** rule, a **Dependencies** section controls whether the scan looks for services, scheduled tasks, and IIS application pools running under the discovered accounts.

<Steps>
  <Step title="Open Account Discovery">
    Log in as a user with the administrative **Privileged Accounts Management** permission, click **Account Discovery**, and select the **Rules** tab.
  </Step>

  <Step title="Add or edit a rule">
    Click **Add** to create a new rule, or click an existing rule to edit it.
  </Step>

  <Step title="Select a supported rule type">
    Set **Type** to **Active Directory Discovery** or **Computer Discovery**.
  </Step>

  <Step title="Enable Dependencies">
    In the **Dependencies** section (below **General**), enable the **Dependencies** toggle.
  </Step>

  <Step title="Choose what to scan for">
    Select one or more:

    | Option                    | Discovers                                                     |
    | ------------------------- | ------------------------------------------------------------- |
    | **Windows Services**      | Services running under the specified account.                 |
    | **Scheduled Tasks**       | Scheduled tasks configured under the specified account.       |
    | **IIS Application Pools** | IIS application pools configured under the specified account. |
  </Step>

  <Step title="Save">
    Click **Save**.
  </Step>
</Steps>

<Frame caption="The Dependencies section of a Discovery Rule.">
  <img src="https://mintcdn.com/syteca/FKrkO8bEqEQ6WSgs/images/pam/discovery/service-accounts-dependencies-rule-section.png?fit=max&auto=format&n=FKrkO8bEqEQ6WSgs&q=85&s=57a181971e2f1bb5636642a087036d57" alt="Discovery Rule popup showing the Dependencies toggle and checkboxes" width="677" height="360" data-path="images/pam/discovery/service-accounts-dependencies-rule-section.png" />
</Frame>

<Note>
  If **Dependencies** is enabled but no checkboxes are selected when you click **Save**, the rule saves with **Dependencies** disabled. The section only appears for Active Directory Discovery and Computer Discovery - not for Linux Discovery rules.
</Note>

## 3. View discovered accounts and their dependencies

After a discovery rule with dependency scanning runs, discovered accounts appear on the **Privileged Accounts** tab. The **Active Directory** and **Windows Local** sub-tabs each gain a **Dependencies** column showing how many dependencies were found per account.

### 3.1 Dependencies column

Shows the dependency count for each account. Clicking the count opens the **Dependencies** tab, filtered to that account.

### 3.2 Dependencies filter

Filter Active Directory and Windows Local accounts by:

* **Has dependencies** - accounts with at least one discovered dependency.
* **No dependencies** - accounts with none.

<Frame caption="The Dependencies filter on the Privileged Accounts tab.">
  <img src="https://mintcdn.com/syteca/FKrkO8bEqEQ6WSgs/images/pam/discovery/service-accounts-dependencies-filter.png?fit=max&auto=format&n=FKrkO8bEqEQ6WSgs&q=85&s=fd69be73d30ccb25f1bcc0b069f92943" alt="Privileged Accounts tab showing the Dependencies filter" width="660" height="364" data-path="images/pam/discovery/service-accounts-dependencies-filter.png" />
</Frame>

### 3.3 Account Type filter (Active Directory tab only)

Multi-select filter:

* **gMSA/sMSA account** - Group and Service Managed Service Accounts only.
* **AD user account** - standard Active Directory user accounts only.

<Frame caption="The Account Type filter on the Active Directory sub-tab.">
  <img src="https://mintcdn.com/syteca/FKrkO8bEqEQ6WSgs/images/pam/discovery/service-accounts-account-type-filter.png?fit=max&auto=format&n=FKrkO8bEqEQ6WSgs&q=85&s=812b631793b6ec424dd2295dbb96eb9a" alt="Active Directory sub-tab showing the Account Type filter" width="670" height="367" data-path="images/pam/discovery/service-accounts-account-type-filter.png" />
</Frame>

### 3.4 Group Managed Service Accounts (gMSA)

Discovered gMSA accounts are marked with a dedicated icon in the Active Directory sub-tab. Hovering shows: *"Group Managed Service Accounts (gMSA) are managed by Active Directory group policies and cannot be onboarded into Syteca."*

<Note>
  gMSA accounts can't be onboarded - the **Onboard** icon is unavailable for them, and **Bulk Action > Onboard** is disabled if any gMSA account is selected. See [Group Managed Service Accounts](#9-group-managed-service-accounts-gmsa) below.
</Note>

## 4. Understand the Dependencies tab

The **Dependencies** tab on the Account Discovery page consolidates every dependency discovered across all rules, sorted by **Discovered** date (most recent first).

| Column                   | Contents                                                                                                           |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------ |
| **Computer**             | The endpoint (hostname) where the dependency is located.                                                           |
| **Type**                 | Windows service, IIS Application Pool, or Scheduled Task.                                                          |
| **Status**               | The dependency's current operational status - see below.                                                           |
| **Login**                | The login name of the account the dependency runs under.                                                           |
| **Discovered**           | When the dependency was first discovered.                                                                          |
| **Last Onboarding Time** | When the associated account was last onboarded.                                                                    |
| **Description**          | The name of the service, pool, or task.                                                                            |
| **Discovery Rule**       | The rule that discovered it. If found by multiple rules, shows only the most recently run one.                     |
| **Secret**               | The secret created during onboarding for the associated account. Click the name to open it on Password Management. |

### 4.1 Dependency statuses

| Status      | Meaning                                                                                                                                                             |
| ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Running** | Enabled and running.                                                                                                                                                |
| **Stopped** | Stopped.                                                                                                                                                            |
| **Failed**  | Status couldn't be checked (availability, permissions, or other errors), or the dependency failed to restart/stop.                                                  |
| **Exposed** | A new, previously unknown dependency was detected for an already-managed account.                                                                                   |
| **Unknown** | The most recent check couldn't confirm current status (endpoint unavailable, insufficient permissions, network issues). Previously discovered, but unconfirmed now. |

<Frame caption="The Dependencies tab, with dependency statuses visible.">
  <img src="https://mintcdn.com/syteca/FKrkO8bEqEQ6WSgs/images/pam/discovery/service-accounts-dependencies-tab-statuses.png?fit=max&auto=format&n=FKrkO8bEqEQ6WSgs&q=85&s=39e9cf6695325ae5ea544f55a79f9599" alt="Dependencies tab showing various dependency statuses" width="680" height="341" data-path="images/pam/discovery/service-accounts-dependencies-tab-statuses.png" />
</Frame>

<Note>
  Hovering over a **Status** value shows "Last dependency check: `<date and time>`", updated automatically. Dependency checks run after discovery, after onboarding, after each remote password rotation, and automatically every 3 hours.
</Note>

### 4.2 Search, filter, and export

**Search** matches the **Computer**, **Login**, and **Description** columns (full or partial text).

| Filter             | Filters by                                                                                                                                    |
| ------------------ | --------------------------------------------------------------------------------------------------------------------------------------------- |
| **Status**         | Running, Stopped, Failed, Exposed, or Unknown.                                                                                                |
| **Type**           | Windows service, IIS Application Pool, or Scheduled Task.                                                                                     |
| **When**           | Date range, based on **Discovered**.                                                                                                          |
| **Who**            | Login name.                                                                                                                                   |
| **Discovery Rule** | The rule (only AD Discovery and Computer Discovery rules are listed).                                                                         |
| **Secret**         | Secret name.                                                                                                                                  |
| **Warnings**       | "Dependencies with warnings" / "Dependencies without warnings" - a warning marks a newly discovered dependency on an already-managed account. |

**Export** offers two options:

* **CSV (All Fields)** - every field, all pages, respecting applied filters.
* **CSV (Current Fields)** - only currently visible columns, all pages, respecting filters and column visibility.

Exported files are named `DiscoveredDependencies_{localDate}.csv`.

<Note>
  Deleting a discovery rule doesn't delete the dependencies it already discovered.
</Note>

## 5. Onboard accounts with dependencies

Onboarding an AD or Windows local account that has dependencies shows a **Dependencies** section on the **Properties** tab of the **Onboard Account** popup.

<Steps>
  <Step title="Open Account Discovery">
    Log in as a user with the administrative **Privileged Accounts Management** permission, click **Account Discovery**, select **Privileged Accounts**, then the **Active Directory** or **Windows Local** sub-tab.
  </Step>

  <Step title="Start onboarding">
    Click the **Unmanaged** icon in the **Status** column for a single account, or select multiple and use **Bulk Action > Onboard**.
  </Step>

  <Step title="Complete the standard sections">
    On the **Properties** tab of **Onboard Account**, fill in **General** and **Password Settings** as usual.
  </Step>

  <Step title="Enable Dependencies">
    In the **Dependencies** section, enable the toggle.
  </Step>

  <Step title="Choose the post-rotation behavior">
    | Option                                                | Behavior after the password rotates                                                |
    | ----------------------------------------------------- | ---------------------------------------------------------------------------------- |
    | **Restart dependencies after onboarding** *(default)* | Updates credentials in each dependency, then restarts each service, task, or pool. |
    | **Stop dependencies after onboarding**                | Updates credentials in each dependency, then stops each service, task, or pool.    |
  </Step>

  <Step title="Select the rotation secret">
    Complete **Account(s) for Rotation** by selecting the secret to use for remote password rotation.
  </Step>

  <Step title="Onboard">
    Click **Onboard**.
  </Step>
</Steps>

<Note>
  **Dependencies** is disabled by default; **Restart dependencies after onboarding** is pre-selected once enabled. The section is unavailable if **Use current password** is selected under Password Settings, and doesn't appear when onboarding Linux accounts. When onboarding a mix of accounts with and without dependencies via Bulk Action, the section still displays.
</Note>

## 6. View dependencies on the Edit Secret page

After onboarding an account with dependencies, its **Dependencies** tab appears on the **Edit Secret** page.

<Steps>
  <Step title="Open the secret">
    On **Password Management**, open the secret for the onboarded account.
  </Step>

  <Step title="Open the Dependencies tab">
    Select the **Dependencies** tab.
  </Step>
</Steps>

| Column          | Contents                                                                                                                                                          |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Computer**    | The endpoint hostname.                                                                                                                                            |
| **Type**        | Dependency type, with a color-coded status label next to it (Running / Stopped / Failed / Exposed / Unknown - same meanings as [above](#41-dependency-statuses)). |
| **Description** | The service, pool, or task name.                                                                                                                                  |

<Note>
  Hovering the status label shows "Last dependency check: `<date and time>`." The grid paginates at 50 records per page (not configurable), newest entries first. **Last dependency status check** (below the grid) shows the most recent check time for this account's dependencies.
</Note>

### 6.1 Configure dependencies from the Automation tab

The **Automation** tab on **Add/Edit Secret** has its own **Dependencies** section - the same toggle and **Restart**/**Stop after onboarding** options - letting you change dependency handling for an already-onboarded account without repeating onboarding.

<Frame caption="The Dependencies section on the Automation tab.">
  <img src="https://mintcdn.com/syteca/FKrkO8bEqEQ6WSgs/images/pam/discovery/service-accounts-automation-tab-dependencies.png?fit=max&auto=format&n=FKrkO8bEqEQ6WSgs&q=85&s=43da4596e04ac43ae164a467ef2e5ef2" alt="Automation tab showing the Dependencies section" width="764" height="357" data-path="images/pam/discovery/service-accounts-automation-tab-dependencies.png" />
</Frame>

<Note>
  Only available for Active Directory and Windows local account secrets, since dependency management requires remote password rotation support. If Account Discovery hasn't run for this account yet, the tab shows: "Account Discovery must be performed to detect dependencies for this account."
</Note>

## 7. Onboarding workflow and retry logic

When an account with dependencies is onboarded - or remote password rotation runs for an already-managed account with dependencies - Syteca follows a structured workflow.

### 7.1 Step 1: Password rotation and dependency management

Syteca rotates the service account's password, then either:

* **Restart dependencies after onboarding** - rotates dependency passwords, restarts each dependency.
* **Stop dependencies after onboarding** - rotates dependency passwords, stops each dependency.

Up to **2 attempts** are made for the initial rotation and restart/stop.

### 7.2 Step 2: Reconciliation with a dedicated account

If Step 1 fails, Syteca automatically retries using the **reconciliation account** configured on [Configuration → Account Discovery](/docs/administration/configuration/account-discovery-settings#1--configure-the-reconciliation-account) - typically a domain admin account.

* Uses the first available reconciliation secret matching the account's domain.
* Success stops the process there; failure tries the next secret from the same domain.
* Secrets from other domains aren't used.
* Only one reconciliation attempt per rotation cycle, with a 10-second timeout between retries.

### 7.3 Step 3: When dependencies fail to restart

If dependencies still fail after reconciliation:

* The **Tasks List** task is marked **Finished with errors**, naming the failed dependencies (for example, *"'Windows Service1', 'Windows Service2' dependencies failed to restart. Manual intervention required."*).
* A System Health notification appears.
* The affected dependency's status changes to **Failed**.

Common causes: insufficient permissions, application failure on the endpoint, or insufficient CPU/RAM/memory. Errors are logged in the Tasks List, the Server log file, and the Onboarding log file.

<Note>
  If the account's password rotates successfully but a dependency fails to restart/stop, the task shows **Finished with errors** (not **Failed**) - onboarding itself is considered complete; only the dependency update failed.
</Note>

## 8. Manage the Exposed account status

If Syteca detects a **new dependency** for an account already in **Managed** status, the account automatically becomes **Exposed** - meaning its credentials may now be used by an additional, unsecured service or process.

When this happens:

* The account gets a dedicated **Exposed** icon on the Privileged Accounts tab (tooltip: *"New unmanaged dependency detected using this account."*).
* The new dependency appears on the Dependencies tab with a warning icon.
* An email notification goes to the user defined in the discovery rule that triggered detection.

### 8.1 Resolve the Exposed status

<Steps>
  <Step title="Open the secret">
    On **Password Management**, open the secret for the affected account.
  </Step>

  <Step title="Open the Automation tab">
    Select the **Automation** tab.
  </Step>

  <Step title="Enable Dependencies and choose behavior">
    Enable the **Dependencies** toggle and select **Restart dependencies after onboarding** or **Stop dependencies after onboarding**.
  </Step>

  <Step title="Rotate">
    Click **Rotate Now** for an immediate rotation, then **Save** - or just click **Save** and wait for the next scheduled rotation.
  </Step>
</Steps>

During rotation, Syteca rotates the Exposed account's password, all known dependency passwords, and all newly discovered dependency passwords. On success, the status returns to **Managed** and the warning icon clears.

## 9. Group Managed Service Accounts (gMSA)

**gMSA** accounts are Active Directory accounts whose passwords Active Directory group policies manage automatically. Syteca can discover gMSA accounts (in the **Domain Admins** or **Enterprise Admins** groups) and their dependencies during Active Directory Discovery scans.

Discovered gMSA accounts appear on the Active Directory sub-tab with a dedicated icon. Restrictions:

1. **Can't be onboarded** through standard onboarding - the **Onboard** icon is unavailable, with tooltip *"Group Managed Service Accounts (gMSA) cannot be onboarded. These accounts are stored as read-only."*
2. **Bulk Action > Onboard** is disabled if any gMSA account is selected (alone or with regular AD accounts).
3. gMSA accounts can be **skipped** via **Bulk Action > Skip**.

Their dependencies still appear on the Dependencies tab.

## 10. Upgrade from a previous version

Upgrading to a version with Service Account Discovery doesn't automatically populate dependency information for accounts discovered before the upgrade.

<Steps>
  <Step title="Re-run discovery rules">
    Configure discovery rules as described in [Prerequisites](#1-prerequisites) and [Configure discovery rules](#2-configure-discovery-rules-to-scan-for-dependencies), then run them again from the beginning to detect dependencies for existing accounts.
  </Step>
</Steps>

After the upgrade, when rules run:

1. If discovery finds dependencies for an account already **Managed**, that account automatically becomes **Exposed**.
2. New dependencies appear on the Dependencies tab with a warning icon.
3. To return the account to **Managed**, perform a remote password rotation for its secret with **Dependencies** enabled - see [Resolve the Exposed status](#81-resolve-the-exposed-status).

## Related

<CardGroup cols={2}>
  <Card title="Account Discovery overview" icon="search" href="/docs/pam/discovery/overview">
    Discovery rule types, running scans, and basic onboarding.
  </Card>

  <Card title="Account Discovery Settings" icon="settings" href="/docs/administration/configuration/account-discovery-settings">
    Configure the reconciliation account and WMI/PowerShell/Linux SSH scanners.
  </Card>

  <Card title="Remote password rotation" icon="refresh-cw" href="/docs/pam/secrets/remote-password-rotation">
    The rotation mechanism dependency management builds on.
  </Card>

  <Card title="WMI and PowerShell scanning" icon="scan" href="/docs/pam/discovery/wmi-powershell">
    Prerequisites for the scanners used during Computer Discovery.
  </Card>
</CardGroup>
