Skip to content

Commit

Permalink
Update Get-AzPolicyResources.ps1 (#319)
Browse files Browse the repository at this point in the history
  • Loading branch information
Acenl12 authored Aug 18, 2023
1 parent 89e7ac4 commit ac62307
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Helpers/Get-AzPolicyResources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ function Get-AzPolicyResources {
$scopesCovered[$scope] = $true
$results = @()
Write-Information " $scope"
$results += Get-AzRoleAssignment -Scope $scope -WarningAction SilentlyContinue
$results += Get-AzRoleAssignment | Where-Object {$_.scope -eq $scope}
$scopesCollectedCount++
$localScopesCovered = @{}
foreach ($result in $results) {
Expand Down

0 comments on commit ac62307

Please sign in to comment.