M 365 – Microsoft announced new version CSOM (Client Side Object Model) for SharePoint Online – Feb 2020

Microsoft announced new version of CSOM (Client Side Object Model) for SharePoint Online.

We will get latest version of CSOM package for SharePoint Online from the NuGetgallery having search term or with an ID – “Microsoft.SharePointOnline.CSOM”.

The latest version of CSOM package is  16.1.19814.12000 as

M 365 – SharePoint Online / Project Online : New version of CSOM package
Fig 1 : M 365 – SharePoint Online / Project Online : New version of CSOM package
M 365  – SharePoint Online / Project Online : Latest CSOM details in NuGet
Fig 2 : M 365  – SharePoint Online / Project Online : Latest CSOM details in NuGet

Here, only NuGet version is changed but assembly version remain same – 16.1.0.0.

This NuGet package is only for SharePoint Online and cannot use as it is for SharePoint on-premises environment (SharePoint 2013, 2016 or 2019).

SharePoint Online Management Shell has been also updated to match with this CSOM release. We can download from here

This release contains a few new important APIs and cmdlets for new capabilities.

But following are important properties, classes and methods are added

In Microsoft.SharePoint.Client

  • public property  Microsoft.SharePoint.Client.ClassificationResult.RetryCount
  • public property Microsoft.SharePoint.Client.ContentType.ClientFormCustomFormatter
  • public class Microsoft.SharePoint.Client.ListHomeItem
  • public class Microsoft.SharePoint.Client.ListHomeItemCollection
  • public property Microsoft.SharePoint.Client.ObjectSharingSettings.EnforceIBSegmentFiltering
  • public property Microsoft.SharePoint.Client.RecentList.color
  • public property Microsoft.SharePoint.Client.RecentList.createdByName
  • public property Microsoft.SharePoint.Client.RecentList.createdByUpn
  • public property Microsoft.SharePoint.Client.RecentList.createdDate
  • public property Microsoft.SharePoint.Client.RecentList.icon
  • public property Microsoft.SharePoint.Client.RecentList.lastModifiedDate
  • public property Microsoft.SharePoint.Client.RecentList.siteColor
  • public property Microsoft.SharePoint.Client.RecentList.siteTitle
  • public property Microsoft.SharePoint.Client.RecentList.siteUrl
  • public property Microsoft.SharePoint.Client.ViewCreationInformation.ViewData
  • public property Microsoft.SharePoint.Client.Web.HideTitleInHeader
  • public method Microsoft.SharePoint.Client.Web.SetChromeOptions

In Microsoft.Online.SharePoint.Client.Tenant

Following properties, classes and methods have been added.

  • public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.GetSPOStructuralNavigationCacheSiteState
  • public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.GetSPOStructuralNavigationCacheWebState
  • public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.SetSPOStructuralNavigationCacheSiteState
  • public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.SetSPOStructuralNavigationCacheWebState
  • public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.SwapSiteWithSmartGestureOptionForce

In Microsoft.SharePoint.Client.UserProfiles

Following properties, classes and methods have been added.

  • public method Microsoft.SharePoint.Client.UserProfiles.PeopleManager.GetUserOneDriveQuotaMax
  • public method Microsoft.SharePoint.Client.UserProfiles.PeopleManager.ResetUserOneDriveQuotaToDefault
  • public method Microsoft.SharePoint.Client.UserProfiles.PeopleManager.SetUserOneDriveQuota


Reference :
https://developer.microsoft.com/en-us/sharepoint/blogs/new-sharepoint-csom-version-released-for-sharepoint-online-february-2020/

Thanks for reading 🙂

Keep reading, share your thoughts, experiences. Feel free to contact us to discuss more. If you have any suggestion / feedback / doubt, you are most welcome.

Stay tuned on Knowledge-Junction, will come up with more such articles.

This site uses Akismet to reduce spam. Learn how your comment data is processed.