dsccommunity / dsccommunity/ActiveDirectoryDsc
ADManagedServiceAccount: Optionally accept an array of SPNs and also support for TrustedForDelegation
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 388
- Forks
- 141
- PR merge metrics
- No merged PRs in 30d
Description
Problem description
Assuming a very large number of Managed Service Account management, it is not performant to manage their SPNs and TrustedForDelegation setting independently.
There already is a separate resource for Service Principal Names, but it would be very helpful to add the ability to set the SPN attribute for the AD Managed Service Account via the MSFT_ADManagedServiceAccount directly. Also the AD User supports TrustedForDelegation.
Verbose logs
n/a
DSC configuration
n/a
Suggested solution
ADManagedServiceAccount 'ExampleStandaloneMSA'
{
Ensure = 'Present'
ServiceAccountName = 'Service01'
AccountType = 'Standalone'
**ServicePrincipalNames = @('MSSQLSvc/sqlalias.contoso.com:1433','MSSQLSvc/hostname.contoso.com:1433')
TrustedForDelegation = $true**
}
Operating system the target node is running
Win2022
PowerShell version and build the target node is running
5.x Win2022
ActiveDirectoryDsc version
ActiveDirectoryDsc 6.2.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the ADManagedServiceAccount resource and comparing its handling with the existing Service Principal Names resource and AD User support for TrustedForDelegation. Done means the resource accepts the proposed ServicePrincipalNames array and TrustedForDelegation setting for managed service accounts, with coverage for the supplied configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100