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.

Amazon Affiliate

As you make purchases from Amazon, consider clicking my link first, then purchase items as you normally would. This helps support my blogging efforts, and it costs you nothing. Simply click the Amazon link and complete your ordinary shopping tasks. Thank you.

Disclosure: As an Amazon Associate, I earn a small commission from qualifying purchases made through the links in this post, at no extra cost to you. This helps support the blog!