M365匯出MFA啟用狀態清單

紀錄一下M365匯出MFA啟用狀態清單

Powershell 需先安裝 Install-Module MSOnline

安裝後 Connect-MsolService

Get-MsolUser -ALL | select DisplayName,BlockCredential,UserPrincipalName,@{N=”MFA Status”; E={ if( $_.StrongAuthenticationRequirements.State -ne $null){ $_.StrongAuthenticationRequirements.State} else { “Disabled”}}} | export-csv c:\temp\mfa-status.csv  -NoTypeInformation -Encoding “UTF8



本篇瀏覽人數: 1315
分類: Office365。這篇內容的永久連結

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *