Búsqueda de sitios web

Nomenclatura de atributos de Active Directory y Office 365


Como señalé en mi publicación anterior, ¡la denominación de atributos de usuario de Active Directory y Azure AD es un poco complicada!

Cuando tiene Office 365 y los atributos están sincronizados desde su AD local a su Azure AD (AAD), los nombres de los atributos parecen cambiar de forma aleatoria:

  • Algunos nombres de atributos pueden cambiar cuando se replican desde AD al metaverso de Azure AD Connect
  • Algunos nombres de atributos pueden cambiar cuando se replican desde Azure AD Connect Metaverse a Azure AD.

Además, algunos nombres de atributos pueden cambiar según la interfaz de script de Office 365 que esté utilizando.

Como referencia, así es como se ve la replicación local de AD <-> AAD Connect Metaverse <-> AAD:

Asegúrese de leer esto para comprender completamente la replicación de Azure AD Connect y el Metaverso.

Este artículo le brindará una descripción general completa de los distintos nombres de atributos que se transforman durante la replicación de AD a AAD.

Cambios de nombre de atributo de AD a AAD Connect Metaverse a AAD (Office 365)

Primero, obtengamos una descripción general de toda la asignación de atributos en la replicación AD a AAD Connect to AAD (usé este script para extraer la información).

La siguiente tabla muestra el nombre para mostrar LDAP de los atributos de usuario de AD, el nombre de los atributos en Azure AD Connect Metaverse y el nombre de los atributos en Azure AD (Office 365):

AD/Metaverso/AAD - Nombres de atributos

ADAAD MetaverseAAD
altRecipientaltRecipientaltRecipient
assistantassistantassistant
authOrigauthOrigauthOrig
cccountryLetterCode
cncncommonName
cococountry
companycompanycompany
countryCodecountryCodecountryCode
departmentdepartmentdepartment
descriptiondescriptiondescription
dLMemRejectPermsdLMemRejectPermsdLMemRejectPerms
dLMemSubmitPermsdLMemSubmitPermsdLMemSubmitPerms
employeeIDemployeeIDemployeeID
extensionAttribute1extensionAttribute1extensionAttribute1
extensionAttribute10extensionAttribute10extensionAttribute10
extensionAttribute11extensionAttribute11extensionAttribute11
extensionAttribute12extensionAttribute12extensionAttribute12
extensionAttribute13extensionAttribute13extensionAttribute13
extensionAttribute14extensionAttribute14extensionAttribute14
extensionAttribute15extensionAttribute15extensionAttribute15
extensionAttribute2extensionAttribute2extensionAttribute2
extensionAttribute3extensionAttribute3extensionAttribute3
extensionAttribute4extensionAttribute4extensionAttribute4
extensionAttribute5extensionAttribute5extensionAttribute5
extensionAttribute6extensionAttribute6extensionAttribute6
extensionAttribute7extensionAttribute7extensionAttribute7
extensionAttribute8extensionAttribute8extensionAttribute8
extensionAttribute9extensionAttribute9extensionAttribute9
facsimileTelephoneNumberfacsimileTelephoneNumberfacsimileTelephoneNumber
givenNamegivenNamegivenName
homePhonehomePhonehomePhone
infoinfoinfo
initialsinitialsinitials
ipPhoneipPhoneipPhone
llcity
legacyExchangeDNlegacyExchangeDNlegacyExchangeDN
mailmailmail
mailNicknamemailNicknamealias
managermanagermanager
middleNamemiddleNamemiddleName
mobilemobilemobile
msDS-HABSeniorityIndexmsDS-HABSeniorityIndexmsDsHabSeniorityIndex
msDS-PhoneticDisplayNamemsDS-PhoneticDisplayNamemsDsPhoneticDisplayName
msExchArchiveGUIDmsExchArchiveGUIDmsExchArchiveGuid
msExchArchiveNamemsExchArchiveNamemsExchArchiveName
msExchAssistantNamemsExchAssistantNamemsExchAssistantName
msExchAuditAdminmsExchAuditAdminmsExchAuditAdmin
msExchAuditDelegatemsExchAuditDelegatemsExchAuditDelegate
msExchAuditDelegateAdminmsExchAuditDelegateAdminmsExchAuditDelegateAdmin
msExchAuditOwnermsExchAuditOwnermsExchAuditOwner
msExchBlockedSendersHashmsExchBlockedSendersHashmsExchBlockedSendersHash
msExchBypassAuditmsExchBypassAuditmsExchBypassAudit
msExchDelegateListLinkmsExchDelegateListLinkmsExchDelegateListLink
msExchELCExpirySuspensionEndmsExchELCExpirySuspensionEndmsExchElcExpirySuspensionEnd
msExchELCExpirySuspensionStartmsExchELCExpirySuspensionStartmsExchElcExpirySuspensionStart
msExchELCMailboxFlagsmsExchELCMailboxFlagsmsExchElcMailboxFlags
msExchEnableModerationmsExchEnableModerationmsExchEnableModeration
msExchHideFromAddressListsmsExchHideFromAddressListsmsExchHideFromAddressLists
msExchImmutableIdmsExchImmutableIdmsExchImmutableId
msExchLitigationHoldDatemsExchLitigationHoldDatemsExchLitigationHoldDate
msExchLitigationHoldOwnermsExchLitigationHoldOwnermsExchLitigationHoldOwner
msExchMailboxAuditEnablemsExchMailboxAuditEnablemsExchMailboxAuditEnable
msExchMailboxAuditLogAgeLimitmsExchMailboxAuditLogAgeLimitmsExchMailboxAuditLogAgeLimit
msExchMailboxGuidmsExchMailboxGuidmsExchMailboxGuid
msExchModeratedByLinkmsExchModeratedByLinkmsExchModeratedByLink
msExchModerationFlagsmsExchModerationFlagsmsExchModerationFlags
msExchRecipientDisplayTypemsExchRecipientDisplayTypemsExchRecipientDisplayType
msExchRemoteRecipientTypemsExchRemoteRecipientTypemsExchRemoteRecipientType
msExchRequireAuthToSendTomsExchRequireAuthToSendTomsExchRequireAuthToSendTo
msExchResourceCapacitymsExchResourceCapacitymsExchResourceCapacity
msExchResourceDisplaymsExchResourceDisplaymsExchResourceDisplay
msExchResourceMetaDatamsExchResourceMetaDatamsExchResourceMetadata
msExchResourceSearchPropertiesmsExchResourceSearchPropertiesmsExchResourceSearchProperties
msExchRetentionCommentmsExchRetentionCommentmsExchRetentionComment
msExchRetentionURLmsExchRetentionURLmsExchRetentionUrl
msExchSafeRecipientsHashmsExchSafeRecipientsHashmsExchSafeRecipientsHash
msExchSafeSendersHashmsExchSafeSendersHashmsExchSafeSendersHash
msExchSenderHintTranslationsmsExchSenderHintTranslationsmsExchSenderHintTranslations
msExchUsageLocationusageLocationusageLocation
objectSidobjectSidonPremiseSecurityIdentifier
otherFacsimileTelephoneNumberotherFacsimileTelephoneNumberotherFacsimileTelephoneNumber
otherHomePhoneotherHomePhoneotherHomePhone
otherIpPhoneotherIpPhoneotherIpPhone
otherMobileotherMobileotherMobile
otherPagerotherPagerotherPager
otherTelephoneotherTelephoneotherTelephone
pagerpagerpager
physicalDeliveryOfficeNamephysicalDeliveryOfficeNamephysicalDeliveryOfficeName
postalCodepostalCodepostalCode
postOfficeBoxpostOfficeBoxpostOfficeBox
preferredLanguagepreferredLanguagepreferredLanguage
proxyAddressesproxyAddressesproxyAddresses
publicDelegatespublicDelegatespublicDelegates
pwdLastSetpwdLastSetlastPasswordChangeTimestamp
sAMAccountNameaccountNameonPremisesSamAccountName
snsnsurname
stststate
streetAddressstreetAddressstreetAddress
targetAddresstargetAddresstargetAddress
telephoneAssistanttelephoneAssistanttelephoneAssistant
telephoneNumbertelephoneNumbertelephoneNumber
thumbnailPhotothumbnailPhotothumbnailPhoto
titletitletitle
unauthOrigunauthOrigunauthOrig
urlurlurl
userAccountControlaccountEnabledaccountEnabled
wWWHomePagewWWHomePagewWWHomePage

(La lista puede diferir de su instalación dependiendo de las extensiones de Active Directory que haya creado)

El ojo atento detectará en la tabla anterior que algunos nombres de atributos cambian durante la replicación.

La siguiente tabla enumera los atributos que cambian su nombre durante el tránsito de AD a través del Metaverso a Azure AD:

AD/Metaverso/AAD - Cambios de nombre de atributo

ADAAD MetaverseAAD
cccountryLetterCode
cncncommonName
cococountry
llcity
mailNicknamemailNicknamealias
msDS-HABSeniorityIndexmsDS-HABSeniorityIndexmsDsHabSeniorityIndex
msDS-PhoneticDisplayNamemsDS-PhoneticDisplayNamemsDsPhoneticDisplayName
msExchUsageLocationusageLocationusageLocation
objectSidobjectSidonPremiseSecurityIdentifier
pwdLastSetpwdLastSetlastPasswordChangeTimestamp
sAMAccountNameaccountNameonPremisesSamAccountName
snsnsurname
stststate
userAccountControlaccountEnabledaccountEnabled

Resumen

De la tabla anterior se desprende claramente que es necesario abordar ciertos atributos con nombres diferentes según su "punto de entrada". ¡Active Directory local puede usar nombres de atributos diferentes a los de Azure AD!

Esto se complica aún más por el hecho de que las interfaces de secuencias de comandos de PowerShell también cambian algunos de los nombres como se describe aquí.

Artículos relacionados