When working with on-premise Active Directory an administrator often has to recursively search AD groups, this is easy using the ActiveDirectory module with cmdlet ”Get-AdGroupMember <Group> -Recusive”.
For the AzureAD equivalent this is no longer an option, the cmdlet Get-AzureADGroupMember has three parameters.
If true, return all group members. If false, return the number of objects specified by the Top parameter
Specifies the ID of a group in Azure AD.
Specifies the maximum number of records to return.