Connect-EaiExchangeOnlineNonMFA

Module: Exchange_AddIn
Applies to: Exchange online

Use the Connect-EaiExchangeOnlineNonMFA function to connect to the O365/Exchange online service not using Modern Authentication.

Connect-EaiExchangeOnlineNonMFA

SYNOPSIS

Creates a PSSession to connect to Exchange Online.

SYNTAX

Connect-EaiExchangeOnlineNonMFA [[-Prefix]] [<CommonParameters>]

DESCRIPTION

This cmdlet combines the steps to successfully sign into an Exchange online tenant.

EXAMPLES

EXAMPLE 1

Connect-EaiExchangeOnlineNonMFA

To connect up to an Exchange online tenant and not use cmdlet prefix option.

EXAMPLE 2

Connect-EaiExchangeOnlineNonMFA -prefix O365

To connect up to an Exchange online tenant and use cmdlet prefix option, with 'O365' in this example.

EXAMPLE 3

Connect-EaiExchangeOnlineNonMFA -prefix EOL

To connect up to an Exchange online tenant and use cmdlet prefix option, with 'EOL' in this example.

PARAMETERS

-Prefix

Optional prefix available to separate nouns for this PowerShell session from other imported PowerShell sessions in the same PowerShell run space.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 1
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

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.