diff --git a/PowerShell/ScubaGear/Modules/Providers/ExportAADProvider.psm1 b/PowerShell/ScubaGear/Modules/Providers/ExportAADProvider.psm1 index 4175194e73..2fa7081d01 100644 --- a/PowerShell/ScubaGear/Modules/Providers/ExportAADProvider.psm1 +++ b/PowerShell/ScubaGear/Modules/Providers/ExportAADProvider.psm1 @@ -123,7 +123,7 @@ function Export-AADProvider { $PrivilegedUsers = @{} $PrivilegedServicePrincipals = @{} - #PrivilegedObjects is an array because of the tracker.trycommand, and so the first index is the hashtable + #PrivilegedObjects is an array because of the tracker.trycommand, and so the first index is the hashtable foreach ($key in $PrivilegedObjects[0].Keys) { # Check if it has ServicePrincipalId property instead of AppId