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
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.
VERBOSE: Using graph cache: https://graph.microsoft.com/v1.0/groups/<REDACTED>/members?$select=id%2cuserPrincipalName%2cuserType&$skiptoken=<REDACTED>
(repeated infinitely)
Suggested solutions
1. Update Get-MtUser to fail gracefully in case of errors.
2. Allow BreakGlass group IDs to be set as parameters in the following tests:
- MT.1029-MT.1032
- BeginDiscovery section in Maester/Entra/Test-ConditionalAccessWhatIf.Tests.ps1
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: