@bmkaiser.comBrian Kaiser @bmkaiser.com
2026-02-27 17:18 UTC
MSOnline has been retired since May 2025. Use Microsoft.Graph instead! Get-MgUser -All | ? { $uri = '/beta/users/{0}/authentication/signInPreferences' -f $_.Id -not ((Invoke-GraphRequest GET $uri).userPreferredMethodForSecondaryAuthentication) } Thanks to @lazyadmin-nl.bsky.social
Link: Get MFA Status of Office 365 users with Microsoft Graph (lazyadmin.nl/powershell/msgraph-mfa-status/)
A reply in a thread.
1 likes, 0 reposts, 0 replies
3 Next post4 More from @bmkaiser.comBackBluesky home