IMPORTANT ANNOUNCEMENT: On May 6, 2024, Carbon Black User eXchange (UeX) and Case Management will move to a new platform!
The Community will be in read-only mode starting April 19th, 7:00 AM PDT. Check out the blog post!
You will still be able to use the case portal to create and interact with your support cases until the transition, view more information here!

App Control: How to Configure a Managed Service Account (gMSA) For Server Install

App Control: How to Configure a Managed Service Account (gMSA) For Server Install

Environment

  • App Control Server: 8.10 and Higher
  • SQL Server Standard: All Supported Versions
  • SQL Server Enterprise: All Supported Versions

Objective

How to configure group managed service account (gMSA) for use with an App Control server installation 

Resolution

  1. Open Powershell > Update the principals allowed to retrieve the password for the gMSA account > Add the App Control computer account, e.g:
    Set-ADServiceAccount -Identity gsma1$ -PrincipalsAllowedToRetrieveManagedPassword appserver$
    • If error "Set-ADServiceAccount is not recognized as the name of a cmdlet" is displayed, please install the Powershell AD tools:
      Install-WindowsFeature RSAT-AD-PowerShell
  2. Verify the principals allowed to retrieve the password:
    Get-ADServiceAccount -Identity gmsa1$ -Properties PrincipalsAllowedToRetrieveManagedPassword
    DistinguishedName                          : CN=gmsa1,CN=Managed Service
    Name                                       : gmsa1
    PrincipalsAllowedToRetrieveManagedPassword : {CN=APPSERVER,CN=Computers,DC=appc,DC=com}
    ...
    
  3. Install the gMSA account onto the App Control system e.g:
    Install-ADServiceAccount gmsa1$
  4. Verify the gMSA account has been installed on the App C system:
    Test-ADServiceAccount gmsa1$
    True
  5. Add the gMSA account to the Local Administrators group on the App C system:
    Add-LocalGroupMember -Group "Administrators" -Member gmsa1$
    
    • Verify the gMSA account is a member of the Local Administrators:
      Get-LocalGroupMember -Group "Administrators"
      User        GSSLABS\gmsa1$        ActiveDirectory
  6. Verify that the gMSA account has the required SQL Server permissions as listed here (Sysadmin role i...
  7. The App Control server app can now be used with a gMSA account
  8. During server setup specify the account as domain\username$ and leave the password blank

Additional Notes

SQL Express does not support the use of a managed service account

Related Content


Labels (1)
Tags (2)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎10-13-2023
Views:
611
Contributors