This name really flows.
When we set up computers for use with Azure Active Directory, we would perform the initial setup and configuration. This included first logging in and joining Azure Active Directory. When you log in, you need to choose a verification method. For convenience, we will use our desk phone or mobile phone.
It is time to update this second factor phone number. I know how to manually do this through the Azure AD Web UI, but I'm looking for a script to set this number in PowerShell.
This is how I get the number through PowerShell.
Get-msoluser -UserPrincipalName "email@emailaddress.com" | Select-Object -ExpandProperty StrongAuthenticationUserDetails
This code returns this information:
ExtensionData : System.Runtime.Serialization.ExtensionDataObject
AlternativePhoneNumber :
Email :
OldPin :
PhoneNumber : +1 5554445555
Pin :
However, it seems that there is no similar option for setting StrongAuthenticationUserDetails.
, , . StrongAuthentication , .