The script Microsoft.PowerPlatform.Administration.UserManagement.psm1 uses the Connect-AzureAD cmdlet (source code here), which is due for deprecation in one month (30th March 2024 - see here for announcement).
Are there plans for this to use supported/maintained modules?