Skip to content

Commit

Permalink
fix Get-EntraTierZeroServicePrincipals
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasBK authored Oct 1, 2024
1 parent fd84685 commit 6ffda7e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions BARK.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -6373,8 +6373,6 @@ Function Get-EntraTierZeroServicePrincipals {
-ContentType "application/json"
if ($Results.value) {
$GlobalAdmins += $Results.value
} else {
$GlobalAdmins += $Results
}
$uri = $Results.'@odata.nextlink'
} until (!($uri))
Expand All @@ -6393,8 +6391,6 @@ Function Get-EntraTierZeroServicePrincipals {
-ContentType "application/json"
if ($Results.value) {
$PrivRoleAdmins += $Results.value
} else {
$PrivRoleAdmins += $Results
}
$uri = $Results.'@odata.nextlink'
} until (!($uri))
Expand All @@ -6413,8 +6409,6 @@ Function Get-EntraTierZeroServicePrincipals {
-ContentType "application/json"
if ($Results.value) {
$PrivAuthAdmins += $Results.value
} else {
$PrivAuthAdmins += $Results
}
$uri = $Results.'@odata.nextlink'
} until (!($uri))
Expand All @@ -6433,8 +6427,6 @@ Function Get-EntraTierZeroServicePrincipals {
-ContentType "application/json"
if ($Results.value) {
$PartnerTier2Support += $Results.value
} else {
$PartnerTier2Support += $Results
}
$uri = $Results.'@odata.nextlink'
} until (!($uri))
Expand Down Expand Up @@ -6462,8 +6454,6 @@ Function Get-EntraTierZeroServicePrincipals {
-ContentType "application/json"
if ($Results.value) {
$MGAppRoles += $Results.value
} else {
$MGAppRoles += $Results
}
$uri = $Results.'@odata.nextlink'
} until (!($uri))
Expand Down

0 comments on commit 6ffda7e

Please sign in to comment.