Apr 23 2018
03:59 AM
- last edited on
Jan 14 2022
05:34 PM
by
TechCommunityAP
Apr 23 2018
03:59 AM
- last edited on
Jan 14 2022
05:34 PM
by
TechCommunityAP
Hello,
is it possible to change the DisplayName attribute of a user getting synched from local AD to O365?
The reason is that in local AD our users have the schema: lastname + firstname. However, we would like them ti exist as fistname + lastname across O365. Can this attribute mapping be altered?
We're using Azure AD Connect to synch our on prem local AD users to O365 / SharePoint but we have no Azure premium subscription.
Thanks in advance for your help.
Apr 23 2018 04:14 AM - edited Apr 23 2018 04:15 AM
Hello Florian,
As far as i am aware the value is taken from on your on-premises AD and hence trying to change the AD attribute mapping might not be the answer to your solution.
I havent tested it though, but will try and let you know.
Regards,
Prashant D
Apr 23 2018 11:01 AM
SolutionYou 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-chan...
Apr 24 2018 12:30 AM
@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-chan...
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.
May 17 2018 11:44 AM
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.
Oct 08 2020 02:07 PM
@Deleted
Yes, I do this all the time.
Apr 23 2018 11:01 AM
SolutionYou 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-chan...