I have a Drupal install that has been live for many years with over 200 thousand users.
We are currently trying to sync our salesforce users with our Drupal users but we only need to do this for certain user roles which would only be about 3000 or so.
I am using Drupal 9, the Salesforce Suit Module v:5.0.0, and I am using the salesforce_pull submodule that is part of that.
My user mapping is working for importing only the new users we want into Drupal; however, Drupal is creating duplicate users even if a user already exists with the same email as what is being pulled over. About half of those 3000 need to be new, the other half will already exist in the Drupal system.
What I am trying to achieve is for Drupal to find a user with that email, and update that record to be connected with salesforce and update new fields as needed.
I have run into many walls with trying to get this to work and any suggestions would be greatly appreciated.
I have also tried setting the upsert key to be the email; however, that key only seems to apply once the Salesforce connection has been made as it doesn't seem to affect the original binding of the Salesforce object with pre-existing entities.