Microsoft Azure | Authentification via l'authentification multifacteur (MFA)
Rédigé par O. Clotaire
Aucun commentaire
Classé dans : Azure, PowerShell
Le MultiFactor Authentication (MFA) est une sécurité d'authentification via des méthodes supplémentaires comme l'envoi d'un code via un SMS sur votre GSM.
Activation du MFA pour l'utilisateur Toto
$mfa = New-Object -TypeName Microsoft.Administration.StrongAuthenticationRequirement
$mfa.RelyingParty = "*"
$mfa.State = "Enabled"
Set-MsolUser -UserPrincipalName toto@tenant.omnicrosoft.com -StrongAuthenticationRequiremen $mfa