When accessing user management via an application, you will only see users who already have access to the selected application (via roles).
If you want to assign roles to a user without access to the selected application, you will need to use the filters to show all users.