You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added filter to GetConfigurationsForPimGroups to only process groups assigned to Scuba roles. Removed phantom PIM groups from processing. Added URI to Write-ScubaLog message when throttled to track which endpoint triggered the logic.
# If there were any errors batch fetching the PIM group names, abort execution with the details of the error.
642
+
# If there was an errors fetching the group name, write to log and use the group ID instead of the name.
631
643
else {
632
-
throw"Failed to fetch display name for group $($Group.Id) from batch results. Status: $($displayNameResponse.status). Body: $(($displayNameResponse.body|ConvertTo-Json-Depth 10))"
644
+
$GroupNameFetchError="Failed to fetch display name for group $($Group.Id) from batch results. Status: $($displayNameResponse.status). Body: $(($displayNameResponse.body|ConvertTo-Json-Depth 10))"
645
+
Write-ScubaLog-Message $GroupNameFetchError-Level Info -Source "GetConfigurationsForPimGroups"
0 commit comments