Issue- Adding user to UserMan using CLI

Hi
i’m trying to add users to UserManager using Cli command, and assigning profile to user , that what i did :

/tool user-manager user add username=user1 password=pass1 customer=admin shared-users=1

then i assigned profile to the created user:
/tool user-manager user profile add user=user1 profile=prof-2mbps

the user added to usermanger but without its profile.
Any suggestions?

As usual, no RouterOS version.

RouterOS V6.49.17

/tool user-manager user profile add user=user1

this do not exist and also not work, so, how you do that?

on user section use
/tool user-manager user create-and-activate-profile profile= customer=admin