Using a Managed Service Account (gMSA) for Server Install
book
Article ID: 290801
calendar_today
Updated On:
Products
Carbon Black App Control (formerly Cb Protection)
Carbon Black App Control
Issue/Introduction
How to configure group managed service account (gMSA) for use with an App Control server installation
Environment
- App Control Server: 8.10.0 and Higher
- SQL Server Standard: All Supported Versions
- SQL Server Enterprise: All Supported Versions
Resolution
- Use PowerShell to update the principals allowed to retrieve the password for the gMSA user, and add the App Control computer account, e.g:
Set-ADServiceAccount -Identity gsmaaccount$ -PrincipalsAllowedToRetrieveManagedPassword appcserveraccount$
- Verify the principals allowed to retrieve the password:
Get-ADServiceAccount -Identity gmsa1$ -Properties PrincipalsAllowedToRetrieveManagedPassword
DistinguishedName : CN=gmsa1,CN=Managed Service
Name : gmsa1
PrincipalsAllowedToRetrieveManagedPassword : {CN=APPCSERVERACCOUNT,CN=Computers,DC=Example,DC=com}
...
- Install the gMSA onto the App Control system e.g:
Install-ADServiceAccount gmsa1$
- Verify the gMSA has been installed on the App C system:
Test-ADServiceAccount gmsa1$
True
- Add the gMSA to the Local Administrators group on the App C system:
Add-LocalGroupMember -Group "Administrators" -Member gmsa1$
- Verify the gMSA user has the required SQL Server permissions, including the Role SYSADMIN.
- The App Control Server application can now be used with a Group Managed Service Account
- During server setup specify the account as domain\username$ and leave the password blank
Additional Information
SQL Express does not support the use of a Managed Service Account.
Feedback
thumb_up
Yes
thumb_down
No