diff --git a/PowerShell/ScubaGear/Modules/ScubaConfig/ScubaConfig.psm1 b/PowerShell/ScubaGear/Modules/ScubaConfig/ScubaConfig.psm1 index c67ac08064..e211c3cc41 100644 --- a/PowerShell/ScubaGear/Modules/ScubaConfig/ScubaConfig.psm1 +++ b/PowerShell/ScubaGear/Modules/ScubaConfig/ScubaConfig.psm1 @@ -30,7 +30,7 @@ class ScubaConfig { $this.Configuration.ProductNames = "teams", "exo", "defender", "aad", "sharepoint", "powerplatform" | Sort-Object } else{ - $this.Configuration.ProductNames = $this.Configuration.ProductNames | Sort-Object + $this.Configuration.ProductNames = $this.Configuration.ProductNames | Sort-Object -Unique } if (-Not $this.Configuration.M365Environment){