Skip to content

Commit

Permalink
Smal fix to mgmt-level
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSehr committed Aug 9, 2024
1 parent 569b1d6 commit 4b2afb7
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,10 @@ function Get-DeploymentTargetResourceListInner {
'managementgroup' {
if ($op = Get-DeploymentOperationAtScope @baseInputObject -ManagementGroupId $ManagementGroupId) {
[array]$deploymentTargets = $op.TargetResource.id | Where-Object { $_ -ne $null } | Select-Object -Unique
} else {
throw 'NoDeploymentFound'
}
throw 'NoDeploymentFound'
break
}
'tenant' {
if ($op = Get-DeploymentOperationAtScope @baseInputObject) {
Expand Down

0 comments on commit 4b2afb7

Please sign in to comment.