All: I am hoping for some help on writing a custom expression sync rule. I have been unsuccessful in my attempts as the filter language is written in VBA and I do not know that language.
I am writing a custom scoped filter for the proxyAddresses attribute.
1. Filter out any smtp/SMTP:name@xxxxxxxxxxxxxxxx value but WILL sync all other values in the attribute.
2. If the unwanted suffix is the primary SMTP, then I need to transform smtp:name@xxxxxxxxxxxxxxxx to [ALL_CAPS]SMTP:name:wanttosnc.com. I am using extensionAttribute15 with a custom value that I am scoping the filter with, such that it will only apply to user objects that have this specific value in the attribute.
Background: We are going through a divesture and are moving a validated domain from our O365 tenant to another for the other half of the org. We are still sharing an AD forest for the time being and user objects who belong to the new tenant have their email suffix of their primary SMTP: set to the new suffix and an alias set to the old tenant while they transition. All mailboxes are still on-prem for both sides of the org. We are using EOP and ATP through our O365 tenant. The new suffix was a validated domain at one time. Since subscribing to the new tenant we deleted that domain from our tenant using guidance from Microsoft consulting.
Proper MX records are set for both tenants so that email destined to the respective suffix goes through the proper tenant to the on-prem mailbox in the shared Ad forest and shared Exchange. Transition efforts are underway but will take some time, so we live in this reality for the time being. Brian Britt