msgraph-sdk-powershell
msgraph-sdk-powershell copied to clipboard
Setting TwoWayPhone Authentication for AzureAD User MFA
Hi,
Currently the only way I know how to set MFA twowayphone authentication for users via powershell is using set-msol (below), I do not see this functionality in PowerShell SDK MSGraph?
$TwoWayVoiceMobile = New-Object -TypeName Microsoft.Online.Administration.StrongAuthenticationMethod $TwoWayVoiceMobile.IsDefault = $true $TwoWayVoiceMobile.MethodType = "TwoWayVoiceMobile" Set-MsolUser -UserPrincipalName $dwpEmail -StrongAuthenticationMethods $methods
@ITpro789, you can find all the Microsoft Graph supported properties of phone authentication method at https://docs.microsoft.com/en-us/graph/api/resources/phoneauthenticationmethod?view=graph-rest-1.0. Please note that with Microsoft Graph, a phone can be used by a user to authenticate using SMS or voice calls as allowed by policy. See https://docs.microsoft.com/en-us/graph/authenticationmethods-get-started for more details.
It's worth noting that changing the default authentication method is currently not supported in Microsoft Graph. Please upvote on this existing feature request for it be added by the workload owner.
It's worth noting that changing the default authentication method is currently not supported in Microsoft Graph. Please upvote on this existing feature request for it be added by the workload owner.
This is an important feature and hope MS adds this to Graph before retiring MSOnline / AAD Graph
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.