Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant