Update user email via SCIM if they change name

We are currently using SSO for login and SCIM for user provisioning. Recently a user of ours got married and their surname changed as a result, and as a result of our HR data feed their email also changed to reflect this.

SCIM picked this up as a new user even though it was still the same Active Directory user. We are not able to login to this account anymore as the email doesn’t exist in our idp anymore.

Logically a change in name would also result in a change in email address for at least larger organisations.