Some things to check;
here are the steps to create a user account via the startup microflow in Mendix:
Create Objectactivity to the microflow and select
System.Useras the entity to create.
System.Userentity as desired, including the
UserRoles, and any other relevant attributes.
Encryptionmodule to hash the password of the user before setting it in the
System.Userentity. You can do this using the
HashStringaction in a
Change Objectactivity. Set the input parameter to the plain-text password, and set the output parameter to the
Passwordattribute of the
System.Userentity. This will ensure that the password is stored securely in the database.
Commitactivity to the microflow to save the new user to the database.
Let me know, if you face any issues,
Hope it helps!!