Cmdlets for Microsoft SharePoint

Build 25.0.9434

SharePointEdition Parameter (Connect-SharePoint Cmdlet)

Specifies the Microsoft SharePoint edition to connect to.

Syntax

Connect-SharePoint -SharePointEdition string

Possible Values

SharePoint Online, SharePoint OnPremise

Data Type

cstr

Default Value

"SharePoint OnPremise"

Remarks

The SharePointEdition property determines which type of environment the cmdlet connects to. The available options include:

  • Microsoft SharePoint Online — Use this setting to connect to a cloud-based environment.
  • Microsoft SharePoint On-Premise — Use this setting to connect to an on-premises server deployment.

Additional Information

Selecting the correct edition ensures proper API handling and avoids failed authentication attempts or unexpected errors. Using the wrong setting can result in connection issues or increased retries as the provider attempts to use incompatible endpoints or protocols.

This is a required parameter.

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