This is a common error that we receive while adding an new user or existing user to power apps environment or Dynamics crm environment.
Solution: Check the security group of this environment.
Add the user to the security group and then try adding the user to this environment again.
This will add the user without showing this error.
