Loading...

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

Image
The User Name in D365 CRM is different from that in Office 365 Guowei Wed, 02/22/2023 - 07:56
Body

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

Learn more
Author image

Featured Articles | Dynamics Chronicles

Welcome to our blog, the content is entirely dedicated to Microsoft Dynamics 365, CRM, Power Platform, Common Data Service (CDS) but also Azure. Follow us !

Share post:

Related

Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!

* Yes, I agree to the privacy policy