Skip to content

Commit

Permalink
Merge pull request #17 from JonasBK/fix-get-tier-zero-sps
Browse files Browse the repository at this point in the history
fix Get-EntraTierZeroServicePrincipals
  • Loading branch information
andyrobbins authored Oct 2, 2024
2 parents 6f9ea47 + 6ffda7e commit b20e803
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 b20e803

Please sign in to comment.