Schema Parameter (Connect-Exchange Cmdlet)
Specifies the schema to use when connecting to the Microsoft Exchange platform.
Syntax
Connect-Exchange -Schema string
Possible Values
MSGraph, EWSData Type
cstr
Default Value
"MSGraph"
Remarks
Set this property to choose the schema that determines how the cmdlet interacts with the Microsoft Exchange service.
Available values:
- MSGraph: Uses the Microsoft Graph API. This is the recommended schema for Microsoft Exchange Online.
- EWS: Uses the Exchange Web Services (EWS) API. Deprecated for Microsoft Exchange Online, but still available for on-premise Microsoft Exchange versions.
The MSGraph schema is only supported with the Exchange_Online platform. Earlier versions of Microsoft Exchange only support EWS.
This is a required parameter.