We are happy to announce the availability of new SharePoint Client-Side Object Model (CSOM) version targeted for the Office 365 or more specifically for SharePoint and Project Online. This release adds version support for Document Sets and has numerous other tenant level properties which can be used with administrative permissions. We recommend always to use Microsoft Graph APIs when possible and only use CSOM API surface when exposed properties or methods are not available through Microsoft Graph.
You can find the latest CSOM package for SharePoint Online, including the Project Online CSOM assembly, from the NuGet gallery with an id of ‘Microsoft.SharePointOnline.CSOM‘. We do recommend you to use the NuGet Package to gain access to the latest version, rather than downloading the SDK to your machine as we do not update the separate MSI installer for SharePoint Online CSOM anymore.
The version of the newly released CSOM package is 16.1.20412.12000. Previous versions of the NuGet have not been removed so that your existing solutions will continue working without issues and you can decide when the new version is taken into use. Notice that even though the NuGet version is increased to 16.1.19814.12000, actual assembly version of the released assemblies is 16.1.0.0. You can also check the version of the assemblies from the File Version attribute, which aligns with the NuGet version.
SharePoint Online Management Shell has been also updated to match with this CSOM release from the API perspective.
Notice that since this NuGet package is targeted to SharePoint Online, you cannot use it directly in on-premises environments (SharePoint 2013, 2016 or 2019). This is because of the server side dependencies of the APIs. CSOM versioning model and dependency on your target environment are clarified in following blog post – Using correct Client-Side Object Model (CSOM) version for SharePoint customizations. We have released separate NuGet packages for on-premises which are not refreshed on monthly basis. See following blog post for additional details – Updated versions of the SharePoint on-premises CSOM NuGet packages.
New properties and methods across assemblies
Here’s a raw list of all the changes in the classes, properties and methods within this package.
Microsoft.SharePoint.Client
Following properties, classes and methods have been added.
- public property Microsoft.SharePoint.Client.ChangeCollection.LastChangeToken
- public property Microsoft.SharePoint.Client.ChangeItem.MoveWasForRecycle
- public property Microsoft.SharePoint.Client.ChangeItem.MoveWasForRestore
- public property Microsoft.SharePoint.Client.FieldDateTime.DateFormat
- public property Microsoft.SharePoint.Client.FieldDateTime.TimeFormat
- public property Microsoft.SharePoint.Client.FieldNumber.CommaSeparator
- public property Microsoft.SharePoint.Client.FieldNumber.CustomUnitName
- public property Microsoft.SharePoint.Client.FieldNumber.CustomUnitOnRight
- public property Microsoft.SharePoint.Client.FieldNumber.Unit
- public property Microsoft.SharePoint.Client.File.VroomDriveID
- public property Microsoft.SharePoint.Client.File.VroomItemID
- public property Microsoft.SharePoint.Client.List.DefaultItemOpenInBrowser
- public method Microsoft.SharePoint.Client.List.GetLookupFieldChoices
- public method Microsoft.SharePoint.Client.List.SearchLookupFieldChoices
- public enum Microsoft.SharePoint.Client.LogoAlignment
- public property Microsoft.SharePoint.Client.NavigationNode.CurrentLCID
- public method Microsoft.SharePoint.Client.SPHSite.IsCommSite
- public property Microsoft.SharePoint.Client.SPListRule.CreateDate
- public enum Microsoft.SharePoint.Client.SPTeamsChannelType
- public method Microsoft.SharePoint.Client.TimeZone.SetId
- public property Microsoft.SharePoint.Client.Web.LogoAlignment
- public property Microsoft.SharePoint.Client.Web.WebTemplateConfiguration
- public property Microsoft.SharePoint.Client.WebParts.LimitedWebPartManager.HasWebPartConnections
Microsoft.Online.SharePoint.Client.Tenant
Following properties, classes and methods have been added.
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.AIBuilderSiteInfoList
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.AIBuilderSiteList
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.AIBuilderSiteListFileName
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.AnyoneLinkTrackUsers
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.BlockSendLabelMismatchEmail
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.BlockUserInfoVisibility
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.CortexLicenseEnabled
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.DefaultContentCenterSite
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.DisableAddToOneDrive
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.DisableCustomAppAuthentication
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.DisablePersonalListCreation
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.EnableAutoNewsDigest
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.GetAllPortalLaunchWaves
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.GetPortalLaunchWaves
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.HasAdminCompletedCUConfiguration
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.HasIntelligentContentServicesCapability
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.HasTopicExperiencesCapability
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.ImageTaggingOption
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.IncludeAtAGlanceInShareEmails
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.IsTenantReadyForIdentityChange
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.IsValidCommSite
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.LabelMismatchEmailHelpLink
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.RemovePortalLaunchWaves
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.SavePortalLaunchWaves
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.SetTenantIdentityMigrationState
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.UpdatePortalLaunchWaves
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.Workflow2010Disabled
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.AIBuilderSiteInfoList
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.AIBuilderSiteList
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.AIBuilderSiteListFileName
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.AnyoneLinkTrackUsers
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.BlockUserInfoVisibility
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.DefaultContentCenterSite
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.DisableAddToOneDrive
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.DisableCustomAppAuthentication
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.DisablePersonalListCreation
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.EnableAutoNewsDigest
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.HasAdminCompletedCUConfiguration
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.ImageTaggingOption
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.IncludeAtAGlanceInShareEmails
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.Workflow2010Disabled
Microsoft.SharePoint.Client.DocumentManagement
Following properties, classes and methods have been added.
- public property Microsoft.SharePoint.Client.DocumentSet.DocumentSet.VersionCollection
- public class Microsoft.SharePoint.Client.DocumentSet.DocumentSetObjectPropertyNames
- public class Microsoft.SharePoint.Client.DocumentSet.DocumentSetVersion
- public class Microsoft.SharePoint.Client.DocumentSet.DocumentSetVersionCollection
- public class Microsoft.SharePoint.Client.DocumentSet.DocumentSetVersionField
- public class Microsoft.SharePoint.Client.DocumentSet.DocumentSetVersionItem
- public class Microsoft.SharePoint.Client.DocumentSet.DocumentSetVersionObjectPropertyNames
- public class Microsoft.SharePoint.Client.DocumentSet.DocumentSetVersionPropertyNames
Microsoft.ProjectServer.Client
Following properties, classes and methods have been added.
- public property Microsoft.ProjectServer.Client.DraftTaskLink.PredecessorTaskId
- public property Microsoft.ProjectServer.Client.DraftTaskLink.SuccessorTaskId
- public property Microsoft.ProjectServer.Client.PublishedTaskLink.PredecessorTaskId
- public property Microsoft.ProjectServer.Client.PublishedTaskLink.SuccessorTaskId
“Sharing is caring”
SharePoint Team, Microsoft – 31st of August 2020