Wed, 02/22/2023 - 07:56 By Guowei Contributor Lloyd Sebag
1 comment

The User Name in D365 CRM is different from that in Office 365

Table of Contents

  • Issue Description
  • Root Cause
  • More Information

Today, I'd like to show a note about the User Name sync mechanism from AAD(Azure Active Directory ) to Dynamics 365 CRM.

Issue Description

An end-user reported that her name was updated to "Dayana Andrade Zavala", however, in D365, it still shows Dayana Yamileth Andrade Zavala.

In AAD:

The User Name in D365 CRM is different from that in Office 365

In O365:

The User Name in D365 CRM is different from that in Office 365

In D365 CRM:

The User Name in D365 CRM is different from that in Office 365

Root Cause

By further checking, we found she updated the user's Display Name, Not updated her first and last names in AAD.

In AAD, we can see this user’s display name is “Dayana Andrade Zavala”, but her “First name + Last name” is still “Dayana Yamileth Andrade Zavala”. 

O365 uses AAD's Display Name as Name.

So, we change the First Name and Last name in AAD, then it will sync to D365 15 mins later.

test

More Information

By default, the system users will be synced from AAD(for which settings are either managed in the Office 365 or Azure portals) every 15 mins.

In the default sync, only a static set of attributes is synced with Dynamics 365.

For example, when the user is synchronized from AAD/O365 to D365 CRM, the manager property is not synchronized.

For the details of the attributes please refer to the table below.

CDS SystemUser Property

Azure AD Property

DomainName

UserPrincipalName

WindowsLiveId

UserPrincipalName

FirstName

First Name

LastName

Last Name

Address1_Country

Country

Address1_City

City

Address1_StateOrProvince

State

Address1_Line1

StreetAddress

Address1_PostalCode

PostalCode

Address1_Telephone1

BusinessPhones

MobilePhone

MobilePhone

Title

JobTitle

InternalEmailAddress

Mail

azureactivedirectoryobjectid

objectId

 

The End.

Hope this is helpful.

Thanks.

The User Name in D365 CRM is different from that in Office 365

Comments

is it possible to add other fields tot this synchronization? for example we need to have in our Dynamics365 system the employee id also. How we'd do that?

Fri, 07/21/2023 - 14:45
Ioana (not verified)

Add new comment

Image CAPTCHA
Enter the characters shown in the image.