Cmdlets for Microsoft Exchange

Build 25.0.9434

User Parameter (Connect-Exchange Cmdlet)

Specifies the username used to authenticate to the Microsoft Exchange server.

Syntax

Connect-Exchange -User string

Data Type

cstr

Default Value

""

Remarks

Set this property to the username of the account you want to authenticate with.

Username formats vary by environment. Use [email protected] for Microsoft Exchange Online and OAuth-based authentication. Use DOMAIN\user for NTLM or other domain-based authentication methods.

Note: Basic authentication using User and Password has been deprecated in Microsoft Exchange Online. Use modern authentication methods such as OAuth or Azure AD where possible.

This property is useful for authenticating to on-premise Microsoft Exchange servers or legacy deployments that still support Basic or NTLM authentication.

This is a required parameter.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434