Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ซอฟต์แวร์ >> อีเมล

Outlook: The Name Cannot Be Matched to a Name in the Address List

ในบางกรณี เมื่อพยายามเชื่อมต่อกล่องจดหมายใหม่ที่โฮสต์บน Exchange Server ภายในองค์กร หรือ Microsoft 365 (Exchange Online) Outlook แสดงข้อผิดพลาดหลังจากป้อนที่อยู่อีเมลและรหัสผ่าน (หรือหลัง Autodiscovery เสร็จสิ้น):

The action cannot be completed. The name cannot be matched to a name in the address list.

Outlook: The Name Cannot Be Matched to a Name in the Address List

ปัญหานี้อาจมีหลายสาเหตุ ลองรายการสาเหตุที่ชัดเจนที่สุด

หากกล่องจดหมายผู้ใช้เพิ่งสร้างใหม่ อาจต้องรอสักครู่ก่อนเชื่อมต่อใน Outlook

ตรวจสอบว่ากล่องจดหมายผู้ใช้ไม่ได้ถูกซ่อนจากสมุดที่อยู่ ใน Exchange On-premises ต้องเชื่อมต่อกับเซิร์ฟเวอร์ Exchange ผ่าน PowerShell และรันคำสั่ง:

Get-Mailbox -Identity k.peterson | Select DisplayName,UserPrincipalName, HiddenFromAddressListsEnabled

หากผู้ใช้ถูกซ่อน ให้ปิดใช้งานแอตทริบิวต์นี้ด้วยคำสั่ง:

Set-Mailbox -Identity k.peterson -HiddenFromAddressListsEnabled $false

ใน Exchange Online (Microsoft 365) สามารถเปิด/ปิดแอตทริบิวต์ Hide from address list ใน Microsoft 365 Admin Center

คลิก Users → Active Users → หาผู้ใช้ → Mail → Edit Exchange Properties จะถูกนำไปสู่ Exchange Admin Center (EAC)

Outlook: The Name Cannot Be Matched to a Name in the Address List

ยกเลิกการติ๊ก Hide from address lists

Outlook: The Name Cannot Be Matched to a Name in the Address List

หรือล้างแอตทริบิวต์ HiddenFromAddressListsEnabled ผ่าน PowerShell ด้วยคำสั่ง Set-Mailbox (หลังเชื่อมต่อกับ Exchange Online tenant ด้วยโมดูล EXOv2 PowerShell)

รอสักครู่ ตรวจสอบว่าผู้ใช้แสดงในสมุดที่อยู่ Exchange (Global Address List) แล้ว เชื่อมต่อกล่องจดหมาย Exchange ใน Outlook

หายังไม่ได้ ให้ลบข้อมูลประจำตัวที่บันทึกไว้ทั้งหมดเกี่ยวกับ Microsoft Office ใน Windows Credential Manager (Control Panel → User Accounts → Credential Manager → Windows Credentials)

Outlook: The Name Cannot Be Matched to a Name in the Address List

ลบข้อมูลที่บันทึกภายใต้คีย์ Registry HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity และรีสตาร์ทคอมพิวเตอร์

Outlook: The Name Cannot Be Matched to a Name in the Address List

ลองสร้างโปรไฟล์อีเมลใหม่ใน Outlook (Control Panel → Mail) และเชื่อมต่อกับกล่องจดหมาย Exchange

ใน Exchange On-premises ตรวจสอบว่าแอตทริบิวต์ผู้ใช้ showInAddressBook มีค่าถูกต้อง เปิดใน AD Attribute Editor ตรวจสอบว่ามี DN อย่างน้อย 2 ค่า:

  • CN=All Users,CN=All Address Lists,CN=Address Lists Container,CN=…
  • CN=Default Global Address List,CN=All Global Address Lists,CN=…

เปรียบเทียบค่ากับผู้ใช้อื่น

ตรวจสอบว่าแอตทริบิวต์ผู้ใช้ต่อไปนี้ถูกกรอกและสอดคล้องกัน: LegacyExchangeDN, homeMDB, homeMTA, mail, mailNickname, msExchHomeServerName, msExchMailboxGuid, msExchMailboxSecurityDescriptor, proxyAddresses

หากปัญหาเกิดเฉพาะใน Outlook 2019 หรือ 2016 และกล่องจดหมายอยู่บน On-prem Exchange Server ให้ปิด Office 365 AutoDiscover ด้วยพารามิเตอร์ Registry ExcludeExplicitO365Endpoint:

reg add HKEY_CURRENT_USER\Software\Microsoft\Office\x.0\Outlook\AutoDiscover /t REG_DWORD /v ExcludeExplicitO365Endpoint /d 1

แอตทริบิวต์ ExcludeExplicitO365Endpoint อธิบายโดยละเอียดในบทความ "Outlook continually prompts for password" รีสตาร์ทคอมพิวเตอร์ Outlook ควรจะค้นพบ On-premise Exchange ได้โดยไม่มีปัญหา