PowerShell: ได้รับข้อผิดพลาด AADSTS500014 ขณะพยายามเชื่อมต่อกับ Exchange Online
$admin="[email protected]"
$adminPassword="xxxxxxxxxxx"
$cred = [Management.Automation.PSCredential]::new($admin, $(ConvertTo-SecureString -Force -AsPlainText -String $adminPassword))
Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline -Credential $cred -ShowProgress $true
ใหม่-ExoPSSession : AADSTS500014: บริการหลักสำหรับทรัพยากร 'https://outlook.office365.com' ถูกปิดใช้งาน สิ่งนี้บ่งชี้ว่าการสมัครสมาชิกภายในผู้เช่าสิ้นสุดลงแล้ว หรือผู้ดูแลระบบสำหรับผู้เช่ารายนี้ได้ปิดใช้งานแอปพลิเคชัน ทำให้ไม่สามารถออกโทเค็นได้