Hello. I am trying to get the value in the "IsDefault" for the "MethodType" of PhoneAppNotification. I am using the two line code below...
Text
$User = Get-MSolUser -UserPrincipalName name@domain.com $User.StrongAuthenticationMethods | Select IsDefault,MethodType
To get the following output...
IsDefault MethodType
--------- ----------
False OneWaySMS
False TwoWayVoiceMobile
False PhoneAppOTP
True PhoneAppNotification
When there is more than one result outputted from the selection property entry, how can I target the specific "MethodType" to get the "isDefault" value?
Thanks.