Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDI Test and Set dont work in non-English domains #694

Open
fabricio-sasaki opened this issue Oct 22, 2024 · 0 comments
Open

MDI Test and Set dont work in non-English domains #694

fabricio-sasaki opened this issue Oct 22, 2024 · 0 comments
Labels

Comments

@fabricio-sasaki
Copy link

I inform a bug in Microsoft Defender for Identity: MDI Test and Set PowerShell’s commands don’t work in non-English domains, example Italian, Spanish and Portuguese.

Error when domain is in Portuguese-Brasil because "Cert Publishers" group call in PT-BR as "Editores de Certificados" and "Domain Contollers" as "Controladores de domínio"

Example: Test-MDIConfiguration -Mode Domain -Configuration All

Result:
PS C:\Windows\system32> Test-MDIConfiguration -Mode Domain -Configuration All

Get-GPPermission : The operation cannot be completed because "Cert Publishers"
is not a valid security group in the RITRAMABR1.LOCAL domain. Make sure that
the TargetName and TargetType parameters specify a valid security group for the
domain. Then, run the command again.
Parameter name: targetName
At C:\Program Files\WindowsPowerShell\Modules\DefenderForIdentity\1.0.0.1\Defend
erForIdentity.psm1:1675 char:13

  •         Get-GPPermission @mdiGpPermissionParams
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (Microsoft.Group...missionsComma
      nd:GetGPPermissionsCommand) [Get-GPPermission], ArgumentException
    • FullyQualifiedErrorId : UnableToRetrieveTargetSID,Microsoft.GroupPolicy.C
      ommands.GetGPPermissionsCommand

Get-GPPermission : The operation cannot be completed because "Domain
Controllers" is not a valid security group in the RITRAMABR1.LOCAL domain. Make
sure that the TargetName and TargetType parameters specify a valid security
group for the domain. Then, run the command again.
Parameter name: targetName
At C:\Program Files\WindowsPowerShell\Modules\DefenderForIdentity\1.0.0.1\Defend
erForIdentity.psm1:1675 char:13

  •         Get-GPPermission @mdiGpPermissionParams
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (Microsoft.Group...missionsComma
      nd:GetGPPermissionsCommand) [Get-GPPermission], ArgumentException
    • FullyQualifiedErrorId : UnableToRetrieveTargetSID,Microsoft.GroupPolicy.C
      ommands.GetGPPermissionsCommand

Get-GPPermission : The operation cannot be completed because "Cert Publishers"
is not a valid security group in the RITRAMABR1.LOCAL domain. Make sure that
the TargetName and TargetType parameters specify a valid security group for the
domain. Then, run the command again.
Parameter name: targetName
At C:\Program Files\WindowsPowerShell\Modules\DefenderForIdentity\1.0.0.1\Defend
erForIdentity.psm1:1953 char:13

  •         Get-GPPermission @mdiGpPermissionParams
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (Microsoft.Group...missionsComma
      nd:GetGPPermissionsCommand) [Get-GPPermission], ArgumentException
    • FullyQualifiedErrorId : UnableToRetrieveTargetSID,Microsoft.GroupPolicy.C
      ommands.GetGPPermissionsCommand

Get-GPPermission : The operation cannot be completed because "Domain
Controllers" is not a valid security group in the RITRAMABR1.LOCAL domain. Make
sure that the TargetName and TargetType parameters specify a valid security
group for the domain. Then, run the command again.
Parameter name: targetName
At C:\Program Files\WindowsPowerShell\Modules\DefenderForIdentity\1.0.0.1\Defend
erForIdentity.psm1:1953 char:13

  •         Get-GPPermission @mdiGpPermissionParams
    
  •         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : InvalidArgument: (Microsoft.Group...missionsComma
      nd:GetGPPermissionsCommand) [Get-GPPermission], ArgumentException
    • FullyQualifiedErrorId : UnableToRetrieveTargetSID,Microsoft.GroupPolicy.C
      ommands.GetGPPermissionsCommand

False

PS C:\Windows\system32>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant