dsccommunity / dsccommunity/SqlServerDsc
SqlAG/SqlAGReplica: NT AUTHORITY\SYSTEM does not exist on localized operating systems
Nobody has claimed this yet.
- Dominant language
- PowerShell
- Stars
- 385
- Forks
- 224
- PR merge metrics
- No merged PRs in 30d
Description
Details of the scenario you tried and the problem that is occurring:
On for example Swedish operating system, the 'NT AUTHORITY\SYSTEM' is not named that. but instead named 'NT instans\SYSTEM'. This will make the resource that are hard-coded to that name fail.

The DSC configuration that is using the resource (as detailed as possible):
n/a
Version of the Operating System, SQL Server and PowerShell the DSC Target Node is running:
n/a
What module (SqlServer or SQLPS) and which version of the module the DSC Target Node is running:
n/a
Version of the DSC module you're using, or 'dev' if you're using current dev branch:
Dev
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 SqlAG and SqlAGReplica resources and searching for the hard-coded NT AUTHORITY\SYSTEM account name. Reproduce the behavior on a localized operating system and inspect existing tests or account-resolution logic. Done means both resources work with the localized SYSTEM account without relying on the English name.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell, sql
- Domain
- databases, localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100