Forum Discussion
Change user DisplayName attribute when synching from local AD to O365?
- Apr 23, 2018
You can certainly edit the sync rules, but don't forget that they might get overwritten with updating AAD Connect, thus causing all DisplayNames to revert to default. There's an example in the documentation: https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnectsync-change-the-configuration#use-an-attribute-other-than-the-default
You can certainly edit the sync rules, but don't forget that they might get overwritten with updating AAD Connect, thus causing all DisplayNames to revert to default. There's an example in the documentation: https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnectsync-change-the-configuration#use-an-attribute-other-than-the-default
- DeletedApr 24, 2018
VasilMichev wrote:You can certainly edit the sync rules, but don't forget that they might get overwritten with updating AAD Connect, thus causing all DisplayNames to revert to default. There's an example in the documentation: https://docs.microsoft.com/en-us/azure/active-directory/connect/active-directory-aadconnectsync-change-the-configuration#use-an-attribute-other-than-the-default
Thanks. I read that article and it was very helpful. I'm in the middle of creating the new sync rule. However, I'm having trouble with the syntax to create an expression for the transformations option:
I would think that in order for the AD attribute 'displayName' to have lastname/firstname reversed I hav to put some kind of expression here. What syntax/language is this? Is it the same code that Excel would accept?
For example, in your linked article under the section Changing the userPrincipalSuffix
there's an example for what to put in the 'source' field:
userPrincipalName <- Word([userPrincipalName],1,"@") & "@contosotest.com".
Thanks for your help.
- Dean_GrossMay 17, 2018Silver Contributor
It is using MIM, this may help https://docs.microsoft.com/en-us/microsoft-identity-manager/reference/mim2016-functions-reference, if not look for old documentation from Forefront Identity manager.