msgraph-sdk-powershell icon indicating copy to clipboard operation
msgraph-sdk-powershell copied to clipboard

Setting TwoWayPhone Authentication for AzureAD User MFA

Open ITpro789 opened this issue 2 years ago • 3 comments

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 avatar Sep 08 '22 09:09 ITpro789

@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.

peombwa avatar Sep 14 '22 23:09 peombwa

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

mortenlerudjordet avatar Sep 18 '22 11:09 mortenlerudjordet

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.

ghost avatar Sep 23 '22 13:09 ghost