If you’re using Azure AD, you can access and sync users using the Microsoft Graph API. This API provides an endpoint that you can hit to fetch users, then you can integrate them in your app the same way you would integrate data from any other web service using Call REST activities, import mappings, and microflow logic.
Some of the Mendix modules are outdated. Luckily it seems that Mendix will put more effort on this in the near future.
How to update this module to Mendix 9:
LdapModule.java (495)
DecryptString decrypter = new DecryptString(context, encryptedPass,
encryption.proxies.constants.Constants.getEncryptionKey(),
encryption.proxies.constants.Constants.getEncryptionPrefix(), "");
ImportLdapGroups_Group.java (46)
Result result = ImportUserRecord.runImportGroupsByGroup(LdapServer);
ImportLdapGroups_Path.java (44)
Result result = ImportUserRecord.runImportGroups(LdapServer);
Export the module and import it in your project.