Skip to content

Commit

Permalink
Fixed one more scenario in AuthRequirement resource
Browse files Browse the repository at this point in the history
  • Loading branch information
ykuijs committed Jan 14, 2025
1 parent 72bc54f commit 99d9a97
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,9 @@ function Export-TargetResource

try
{
[array]$getValue = Get-MgUser -Filter "userType eq 'member'" -All -ErrorAction Stop | Where-Object -FilterScript { $null -ne $_.Id }
[array]$getValue = Get-MgUser -Filter "userType eq 'member'" -All -ErrorAction Stop | Where-Object -FilterScript {
$null -ne $_.Id -and $_.UserPrincipalName -notlike "*#EXT#*"
}

$i = 1
$dscContent = ''
Expand Down

0 comments on commit 99d9a97

Please sign in to comment.