Skip to content

Commit

Permalink
Merge pull request #5491 from NikCharlebois/AADRoleManagementPolicyRu…
Browse files Browse the repository at this point in the history
…le---Added-Filter-for-Export

AADRoleManagementPolicyRule - Export Count Instances Fix
  • Loading branch information
NikCharlebois authored Nov 29, 2024
2 parents dd88a4b + a945bad commit 230b0fc
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,10 @@ function Export-TargetResource
$i = 1
foreach ($rule in $rules)
{
if ($null -ne $Global:M365DSCExportResourceInstancesCount)
{
$Global:M365DSCExportResourceInstancesCount++
}
Write-Host " |---[$i/$($rules.Count)] $($role.displayName)_$($rule.id)" -NoNewline
$Params = @{
roleDisplayName = $role.displayName
Expand Down

0 comments on commit 230b0fc

Please sign in to comment.