Computer >> บทช่วยสอนคอมพิวเตอร์ >  >> ระบบเครือข่าย >> ความปลอดภัยเครือข่าย

หา Network Security / Login Settings ใน Office 365 / Microsoft 365

Network Security / Login Prompt ใน Office 365 คืออะไร?

ในบริบทของ Office 365/Microsoft 365 "Network Security" มักหมายถึง การยืนยันตัวตน (Authentication) และ Credential Prompt (หน้าต่างขอรหัสผ่าน) ไม่ใช่ Wi-Fi Password

เหตุผลที่ Outlook/Office ถามรหัสผ่านซ้ำๆ

  • Modern Authentication ปิด: ใช้ Basic Auth ที่เลิก支援แล้ว
  • Credential Manager เก็บ Credential เก่า/ผิด: Windows Credential Manager มีข้อมูลล้าสมัย
  • Profile Outlook เสียหาย: ต้องสร้าง Profile ใหม่
  • Conditional Access / MFA Policy: นโยบายองค์กรบังคับ MFA หรือ Block Legacy Auth
  • Token หมดอายุ/ถูกเพิกถอน: Refresh Token Expired, Revoked โดย Admin
  • Network/Proxy/Firewall บล็อก: ไม่สามารถติดต่อ Login Endpoint (login.microsoftonline.com)

วิธีแก้ไขปัญหา Credential Prompt

1. ลบ Credential เก่าใน Windows Credential Manager

  1. Control Panel > Credential Manager > Windows Credentials
  2. หา entry ที่เกี่ยวกับ MicrosoftOffice16, Outlook, microsoft.com, office365.com
  3. คลิก Remove ทุกตัว
  4. เปิด Outlook ใหม่ จะขอ Credential ใหม่

2. เปิดใช้งาน Modern Authentication (Tenant Admin)

Microsoft 365 Admin Center > Settings > Org Settings > Modern Authentication > ใส่ถูก Enable modern authentication > Save (อาจใช้เวลาประมาณ 1 ชม. มีผล)

3. สร้าง Outlook Profile ใหม่

  1. Control Panel > Mail (Microsoft Outlook) > Show Profiles
  2. Add > ตั้งชื่อ > Wizard จะตั้งค่าอัตโนมัติ (Autodiscover)
  3. เลือก Always use this profile > OK

4. ตรวจสอบ Registry (Advanced) - Disable ADAL/WAM

หากมีปัญหา Web Account Manager (WAM) ใช้ Registry:

HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Common\Identity
DisableADALatop = 1 (DWORD) - ปิด ADAL
EnableADAL = 0 (DWORD) - ปิด ADAL

หมายเหตุ: ไม่แนะนำให้ปิด Modern Auth ใช้เฉพาะกรณีบังคับ

5. ใช้เครื่องมือ Microsoft Support and Recovery Assistant (SaRA)

ดาวน์โหลดจาก aka.ms/SaRA-OutlookSignIn รันเลือก "Outlook sign-in issues"

ตั้งค่า "Always prompt for logon credentials" (Outlook Desktop)

  1. File > Account Settings > Account Settings
  2. ดับเบิลคลิกบัญชี Exchange > More Settings > แท็บ Security
  3. Uncheck "Always prompt for logon credentials" (ถ้าต้องการไม่ให้ถามซ้ำ)
  4. หรือ Check ถ้าต้องการให้ถามทุกครั้ง (Security High)

สำหรับ Admin: ตรวจสอบ Sign-in Logs

Azure AD / Entra ID > Monitoring > Sign-in logs > Filter by User > ดู Failure Reason (Invalid credentials, MFA required, Conditional Access, Legacy Auth blocked)