Open milanschwartz opened 1 month ago
This is interesting. I wonder why a hybrid group would cause an infinite loop.
Tagging @f-bader
This is interesting. I wonder why a hybrid group would cause an infinite loop.
Tagging @f-bader
Thanks Merril for picking this up. To clarify further, I don't know if the inifinite loop is caused by the group being hybrid. I just gave it as background info.
Issue Report
Environment
Description
In our tenant, the Get-MtUser -UserType "EmergencyAccess" command results in an infinite loop. This function attempts to select two groups from Entra ID as BreakGlass groups based on exclusion criteria from conditional access policies. In our case, the groups are on-premise synced, not designated as BreakGlass groups, and should not be used as such. Attempting to fetch the members of these groups causes the infinite loop.
Code section
Output
Suggested solutions