We have a connector to the active directory to sync the users as soon as the first login. Once they log in, the user is visible in QMC, then we will add the role in QMC.
We are looking for automation to create users and add a role or custom properties for security.
Can we create user and add a role/custom properties using RestAPI or powershell script.
To create users, you can use your User Directory Connector to import user from your Active Directory. You can even add an LDAP filter to create only users member of a specific active directory group if you want. The only requirement for that is to uncheck the box "Sync user data for existing users".