Setting a random password on importing users

Is that easier than the passwordless first visit for new users invited via the usual method?

What’s the problem you’re trying to solve by doing this?