Skip to content

Get-AuthPolicy

SYNOPSIS

SYNTAX

Get-AuthPolicy [<CommonParameters>]

DESCRIPTION

Used to view existing Authentication Policies for Exchange Online Mailboxes

Use of Modern Authentication Only is important for securing against Password Spray Attacks. New attacks on Basic authentication allow for taking control of an Exchange Online account by simply sending a malicious link to a target.

EXAMPLES

EXAMPLE 1

Gets the Authentication Policy out to a grid view

Get-AuthPolicy | Out-GridView

PARAMETERS

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

INPUTS

OUTPUTS

NOTES

Requires the Exchange Online module be installed, imported, and Connected.

New-AuthPolicy Set-AuthPolicy

Back to top