What query have you defined that’s used by the rbac sync ?
The synchronization command is:
C:\Users\roman.schachta>blcli -v defaultProfile -r RBACAdmins RBACRole syncUsers
TestRole DIR1 Dir1 CN=io.aop.environments,OU=Groups,DC=dir,DC=svc,DC=mycompany,DC=com (objectClass=user) userPrincipalName (objectClass=group) member
It is working fine and creating the users in the right role (TestRole) but they are created email@example.com'.
The script works fine.
Thank you, very much Monty!