Add users to SharePoint Group using PowerShell
t turns out to be that Set-SPUser can only set properties, permissions to a user account if it has already been added to SharePoint site. This means, you have to make sure that the user is already present in the SharePoint site. Otherwise, you can use the New-SPUSercmdlet to add the user.
Hope this help,