< Back

Test-PartnerSecurityRequirement

Sat Jan 18, 2020 6:38 pm

NAME Test-PartnerSecurityRequirement



SYNOPSIS

Tests the account, used during authentication, if multi-factor authentication was enforced.





SYNTAX

Test-PartnerSecurityRequirement [-Environment {AzureCloud | AzureChinaCloud | AzureGermanCloud | AzurePPE |

AzureUSGovernment}] [-UseDeviceAuthentication] [<CommonParameters>]





DESCRIPTION

Tests the account, used during authentication, if multi-factor authentication was enforced. This test is done by

checking for the MFA value in the AMR claim.





PARAMETERS

-Environment <EnvironmentName>

The environment use for authentication.



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-UseDeviceAuthentication [<SwitchParameter>]

Use device code authentication instead of a browser control.



Required? false

Position? named

Default value False

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

System.Object







NOTES









-------------------------- Example 1 --------------------------



PS C:\\> Test-PartnerSecurityRequirement



Tests the account, used during authentication, if multi-factor authentication was enforced. This test is done by

checking for the MFA value in the AMR claim.







RELATED LINKS

Online Version: https://docs.microsoft.com/powershell/m ... equirement