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

Outlook ขอรหัสผ่านเมื่อเปิดใช้งาน Modern Authentication

Modern Authentication เป็นวิธีการจัดการข้อมูลประจำตัวที่ให้การยืนยันตัวตนและการอนุมัติที่ปลอดภัยกว่า ในโพสต์นี้ จะดูเหตุผลที่ Outlook ขอรหัสผ่านเมื่อเปิดใช้งาน Modern Authentication และให้โซลูชันแก้ไขปัญหานี้ ปัญหานี้เกี่ยวข้องกับ Outlook, Exchange Online, และ Outlook for Microsoft 365

จาก 2 สถานการณ์ด้านล่าง คุณจะถูกขอ Credentials และ Outlook ไม่ได้ใช้ Modern Authentication เชื่อมต่อ Office 365 - หลังจากใส่ Credentials แล้ว จะถูกส่งไป Office 365 แทนที่จะส่ง Token

  • สถานการณ์ 1: Microsoft Outlook เชื่อมต่อ Primary Mailbox ใน On-premises Exchange Server โดยใช้ RPC และเชื่อมต่อ Mailbox อีกตัวที่อยู่ใน Office 365
  • สถานการณ์ 2: คุณย้าย Mailbox ไป Office 365 จาก Exchange Server ที่ Outlook เชื่อมต่อด้วย RPC

ปัญหานี้เกิดเพราะ Outlook จำกัดตัวเลือก Authentication Schemes ให้เป็น Schemes ที่ RPC รองรับ แต่ Authentication Schemes เหล่านั้นไม่รวม Modern Authentication

Outlook ขอรหัสผ่านเมื่อเปิดใช้งาน Modern Authentication

เพื่อแก้ไขปัญหานี้ ต้องสร้าง Registry Key AlwaysUseMSOAuthForAutoDiscover เพื่อบังคับให้ Outlook ใช้วิธีการยืนยันตัวตนรุ่นใหม่สำหรับ Web Services เช่น EWS และ Autodiscover

Outlook ขอรหัสผ่านเมื่อเปิดใช้งาน Modern Authentication

ทำตามขั้นตอน:

เนื่องจากเป็นการแก้ไข Registry แนะนำให้ Backup Registry หรือสร้าง System Restore Point ก่อน แล้วค่อยดำเนินต่อ:

  • ปิด Outlook
  • กด Windows key + R เปิด Run Dialog
  • ใน Run Dialog พิมพ์ regedit Enter เปิด Registry Editor
  • ไปที่ Registry Key Path:
HKEY_CURRENT_USER\Software\Microsoft\Exchange
  • ที่ตำแหน่น คลิกขวาที่พื้นที่ว่างขวา → New > DWORD (32-bit) Value
  • ตั้งชื่อ Value Name ว่า AlwaysUseMSOAuthForAutoDiscover Enter
  • ดับเบิลคลิก Value ใหม่ เพื่อแก้ไข Properties
  • ในกล่อง Properties ใส่ 1 ในช่อง Value Data
  • คลิก OK บันทึก
  • ปิด Registry Editor
  • รีสตาร์ท PC

เสร็จสิ้น!

Microsoft อธิบายในเอกสารว่า Modern Authentication เป็น терมรวมสำหรับการผสมผสานของ Authentication และ Authorization Methods ระหว่าง Client (เช่น Laptop, Phone) และ Server รวมถึงมาตรการความปลอดภัยที่อาศัย Access Policies ที่คุณคุ้นเคย ประกอบด้วย:

  • Authentication Methods: Multi-factor Authentication (MFA); Smart Card Authentication; Client Certificate-based Authentication
  • Authorization Methods: Microsoft's implementation of OAuth
  • Conditional Access Policies: Mobile Application Management (MAM) และ Azure AD Conditional Access

การจัดการข้อมูลประจำตัวผู้ใช้ด้วย Modern Authentication ให้เครื่องมือมากมายแก่ Admin ในการรักษาความปลอดภัยทรัพยากร

โพสต์เกี่ยวข้อง: Outlook ถามรหัสผ่านซ้ำเมื่อเชื่อมต่อ Office 365