Connect-ExchangeOnlineNonMFA

Module: MO_Module
Applies to: Exchange online

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

Connect-ExchangeOnlineNonMFA

SYNOPSIS

Creates a PSSession to connect to Exchange Online.

SYNTAX

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

DESCRIPTION

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

EXAMPLES

EXAMPLE 1

Connect-ExchangeOnlineNonMFA

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

EXAMPLE 2

Connect-ExchangeOnlineNonMFA -prefix O365

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

EXAMPLE 3

Connect-ExchangeOnlineNonMFA -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.

Add a Comment