We have a use case where on name change a form should be generated to user for confirmation if he/she wants to get a new email id based on name change or want to keep the old email id. If user accepts the email changes then the new email address should get generated and set in AD else no changes in email.
Please let me know how to achieve this use case.
Just thinking this through, some additional questions:
How often does this happen? (Cost / savings of mechanising this)
Do they only get this opportunity once per name change? (If they answer No, is that email address change opportunity lost until next name change…and you lose the chance to pick that particular email address as well)
What happens to the old / current email address? Show / Hide from address book?
What happens to the new email address? (It becomes / doesn’t become your primary SMTP?)
The slightly more fluid / case-by-case, IMO, workflow would be to prompt the user: We noticed that your name has changed, would you like a service ticket created for Help Desk to reach out to you regarding email address changes this? But I guess that does depends on the happy / less-happy path coverage distribution.