New SharePoint CSOM version released for SharePoint Online – August 2017

Vesa Juvonen

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 again contains few updates on the existing SharePoint and Project CSOM assemblies and some maintenance changes

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 are also working on updating the redistributable package at some point, but you can already right now start using some of these new capabilities in your solutions. We do recommend you to use the NuGet Package to gain access to the latest version, rather than downloading the SDK to your machine.

The version of the newly released CSOM package is 16.1.6802.1200. 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.6802.1200, 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.

CSOM package visible in the NuGet gallery view at Visual Studio

SharePoint Online Management Shell has been also updated to match with this CSOM release. MSDN reference API documentation was last time updated during and we’re working on a refresh for these as well.  

Notice that since this NuGet package is targeted to SharePoint Online, you cannot use it directly in on-premises environments (SharePoint 2013 or 2016). This is because of the server side dependencies of the APIs. CSOM versioning model and dependency to 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. See following blog post for additional details – SharePoint CSOM versions for on-premises released as NuGet packages.

New properties and methods cross 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 class Microsoft.SharePoint.Client.CurrencyInformation
  • public class Microsoft.SharePoint.Client.CurrencyInformationCollection
  • public class Microsoft.SharePoint.Client.CurrencyList
  • public method Microsoft.SharePoint.Client.FileVersionCollection.RecycleByID
  • public method Microsoft.SharePoint.Client.FileVersionCollection.RecycleByLabel
  • public class Microsoft.SharePoint.Client.LanguageCollection
  • public property Microsoft.SharePoint.Client.ListItem.Versions
  • public class Microsoft.SharePoint.Client.ListItemVersion
  • public class Microsoft.SharePoint.Client.ListItemVersionCollection
  • public property Microsoft.SharePoint.Client.RegionalSettings.InstalledLanguages
  • public property Microsoft.SharePoint.Client.SharingLinkData.RequiresPassword
  • public property Microsoft.SharePoint.Client.SharingLinkData.RestrictedShareMembership
  • public property Microsoft.SharePoint.Client.SharingLinkInfo.RequiresPassword
  • public property Microsoft.SharePoint.Client.SharingLinkInfo.RestrictedShareMembership
  • public property Microsoft.SharePoint.Client.User.IsEmailAuthenticationGuestUser
  • public property Microsoft.SharePoint.Client.Web.HorizontalQuickLaunch

Microsoft.Online.SharePoint.Client.Tenant

Following properties, classes and methods have been added.

  • public class Microsoft.Online.SharePoint.TenantAdministration.ContactAdminsByEmailFieldsData
  • public class Microsoft.Online.SharePoint.TenantAdministration.MessagesFieldsData
  • public class Microsoft.Online.SharePoint.TenantAdministration.SecondaryAdministratorsFieldsData
  • public class Microsoft.Online.SharePoint.TenantAdministration.SecondaryAdministratorsInfo
  • public property Microsoft.Online.SharePoint.TenantAdministration.SPOTenantWebTemplate.Id
  • public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.DisplayNamesOfFileViewers
  • public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.GetSPOTenantAllWebTemplates

Microsoft.Office.Client.Policy

Following properties, classes and methods have been added.

  • public property Microsoft.SharePoint.Client.CompliancePolicy.ComplianceTag.AcceptMessagesOnlyFromSendersOrMembers
  • public property Microsoft.SharePoint.Client.CompliancePolicy.ComplianceTag.AccessType
  • public property Microsoft.SharePoint.Client.CompliancePolicy.ComplianceTag.AllowAccessFromUnmanagedDevice
  • public property Microsoft.SharePoint.Client.CompliancePolicy.ComplianceTag.ContainsSiteLabel
  • public property Microsoft.SharePoint.Client.CompliancePolicy.ComplianceTag.RequireSenderAuthenticationEnabled
  • public property Microsoft.SharePoint.Client.CompliancePolicy.ComplianceTag.SharingCapabilities
  • public method Microsoft.SharePoint.Client.CompliancePolicy.SPPolicyStore.GetComplianceTags
  • public method Microsoft.SharePoint.Client.CompliancePolicy.SPPolicyStoreProxy.GetAvailableTagsForSiteLabel

“Sharing is caring”


Vesa Juvonen, Senior Program Manager, OneDrive-SharePoint Engineering, Microsoft – 11th of August 2017

Feedback usabilla icon