{"id":5236,"date":"2020-08-31T04:23:49","date_gmt":"2020-08-31T11:23:49","guid":{"rendered":"https:\/\/officedevblogs.wpengine.com\/?p=5236"},"modified":"2021-11-17T13:13:12","modified_gmt":"2021-11-17T21:13:12","slug":"new-sharepoint-csom-version-released-for-sharepoint-online-august-2020","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/new-sharepoint-csom-version-released-for-sharepoint-online-august-2020\/","title":{"rendered":"New SharePoint CSOM version released for SharePoint Online &#8211; August 2020"},"content":{"rendered":"<p>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 <a href=\"https:\/\/docs.microsoft.com\/en-us\/graph\/\">Microsoft Graph APIs<\/a> when possible and only use CSOM API surface when exposed properties or methods are not available through Microsoft Graph.<\/p>\n<p>You can find the latest CSOM package for SharePoint Online, including the Project Online CSOM assembly, from the\u00a0<a href=\"https:\/\/www.nuget.org\/packages\/Microsoft.SharePointOnline.CSOM\">NuGet gallery<\/a>\u00a0with an id of &#8216;<strong><em>Microsoft.SharePointOnline.CSOM<\/em><\/strong>&#8216;. We do recommend you to use the NuGet Package to gain access to the latest version, rather than downloading\u00a0the SDK to your machine as we do not update the separate MSI installer for SharePoint Online CSOM anymore.<\/p>\n<p>The version of the newly released CSOM package is <strong>16.1.20412.12000<\/strong>. Previous\u00a0versions of the NuGet have\u00a0<strong>not<\/strong> 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 <em>File Version attribute<\/em>, which aligns with the NuGet version.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-5238 size-full\" src=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/08\/csom-raw.jpg\" alt=\"CSOM NuGet Package\" width=\"999\" height=\"626\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/08\/csom-raw.jpg 999w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/08\/csom-raw-300x188.jpg 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2020\/08\/csom-raw-768x481.jpg 768w\" sizes=\"(max-width: 999px) 100vw, 999px\" \/><\/p>\n<p><a href=\"https:\/\/www.powershellgallery.com\/packages\/Microsoft.Online.SharePoint.PowerShell\">SharePoint Online Management Shell<\/a> has been also updated to match with this CSOM release from the API perspective.<\/p>\n<p><strong><em>Notice<\/em><\/strong>\u00a0that since this NuGet\u00a0package is targeted to <strong>SharePoint Online<\/strong>, you <strong>cannot<\/strong> 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\u00a0dependency\u00a0on\u00a0your target environment are clarified in following blog post &#8211;\u00a0<a href=\"http:\/\/dev.office.com\/blogs\/using-correct-csom-version-for-sharepoint-customizations\">Using correct Client-Side Object Model (CSOM) version for SharePoint customizations<\/a>. We have released separate NuGet packages for on-premises which are not refreshed on monthly basis. See following blog post for additional details &#8211; <a href=\"https:\/\/developer.microsoft.com\/en-us\/sharepoint\/blogs\/updated-versions-of-the-sharepoint-on-premises-csom-nuget-packages\/\">Updated versions of the SharePoint on-premises CSOM NuGet packages<\/a>.<\/p>\n<h2>New properties and methods\u00a0across assemblies<\/h2>\n<p>Here&#8217;s a raw list of all the changes in the classes,\u00a0properties and methods within this package.<\/p>\n<h2>Microsoft.SharePoint.Client<\/h2>\n<p>Following properties, classes and methods have been\u00a0<strong>added.<\/strong><\/p>\n<ul>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.ChangeCollection.LastChangeToken<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.ChangeItem.MoveWasForRecycle<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.ChangeItem.MoveWasForRestore<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.FieldDateTime.DateFormat<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.FieldDateTime.TimeFormat<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.FieldNumber.CommaSeparator<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.FieldNumber.CustomUnitName<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.FieldNumber.CustomUnitOnRight<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.FieldNumber.Unit<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.File.VroomDriveID<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.File.VroomItemID<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.List.DefaultItemOpenInBrowser<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.List.GetLookupFieldChoices<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.List.SearchLookupFieldChoices<\/li>\n<li>public <strong>enum<\/strong> Microsoft.SharePoint.Client.LogoAlignment<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.NavigationNode.CurrentLCID<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.SPHSite.IsCommSite<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.SPListRule.CreateDate<\/li>\n<li>public <strong>enum<\/strong> Microsoft.SharePoint.Client.SPTeamsChannelType<\/li>\n<li>public <strong>method<\/strong> Microsoft.SharePoint.Client.TimeZone.SetId<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.Web.LogoAlignment<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.Web.WebTemplateConfiguration<\/li>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.WebParts.LimitedWebPartManager.HasWebPartConnections<\/li>\n<\/ul>\n<h2>Microsoft.Online.SharePoint.Client.Tenant<\/h2>\n<p>Following properties, classes and methods have been\u00a0<strong>added.<\/strong><\/p>\n<ul>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.AIBuilderSiteInfoList<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.AIBuilderSiteList<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.AIBuilderSiteListFileName<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.AnyoneLinkTrackUsers<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.BlockSendLabelMismatchEmail<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.BlockUserInfoVisibility<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.CortexLicenseEnabled<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.DefaultContentCenterSite<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.DisableAddToOneDrive<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.DisableCustomAppAuthentication<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.DisablePersonalListCreation<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.EnableAutoNewsDigest<\/li>\n<li>public <strong>method<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.GetAllPortalLaunchWaves<\/li>\n<li>public <strong>method<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.GetPortalLaunchWaves<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.HasAdminCompletedCUConfiguration<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.HasIntelligentContentServicesCapability<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.HasTopicExperiencesCapability<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.ImageTaggingOption<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.IncludeAtAGlanceInShareEmails<\/li>\n<li>public <strong>method<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.IsTenantReadyForIdentityChange<\/li>\n<li>public <strong>method<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.IsValidCommSite<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.LabelMismatchEmailHelpLink<\/li>\n<li>public <strong>method<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.RemovePortalLaunchWaves<\/li>\n<li>public <strong>method<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.SavePortalLaunchWaves<\/li>\n<li>public <strong>method<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.SetTenantIdentityMigrationState<\/li>\n<li>public <strong>method<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.UpdatePortalLaunchWaves<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.Workflow2010Disabled<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.AIBuilderSiteInfoList<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.AIBuilderSiteList<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.AIBuilderSiteListFileName<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.AnyoneLinkTrackUsers<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.BlockUserInfoVisibility<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.DefaultContentCenterSite<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.DisableAddToOneDrive<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.DisableCustomAppAuthentication<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.DisablePersonalListCreation<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.EnableAutoNewsDigest<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.HasAdminCompletedCUConfiguration<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.ImageTaggingOption<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.IncludeAtAGlanceInShareEmails<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.Workflow2010Disabled<\/li>\n<\/ul>\n<h2>Microsoft.SharePoint.Client.DocumentManagement<\/h2>\n<p>Following properties, classes and methods have been\u00a0<strong>added.<\/strong><\/p>\n<ul>\n<li>public <strong>property<\/strong> Microsoft.SharePoint.Client.DocumentSet.DocumentSet.VersionCollection<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.DocumentSet.DocumentSetObjectPropertyNames<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.DocumentSet.DocumentSetVersion<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.DocumentSet.DocumentSetVersionCollection<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.DocumentSet.DocumentSetVersionField<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.DocumentSet.DocumentSetVersionItem<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.DocumentSet.DocumentSetVersionObjectPropertyNames<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.DocumentSet.DocumentSetVersionPropertyNames<\/li>\n<\/ul>\n<h2>Microsoft.ProjectServer.Client<\/h2>\n<p>Following properties, classes and methods have been\u00a0<strong>added.<\/strong><\/p>\n<ul>\n<li>public <strong>property<\/strong> Microsoft.ProjectServer.Client.DraftTaskLink.PredecessorTaskId<\/li>\n<li>public <strong>property<\/strong> Microsoft.ProjectServer.Client.DraftTaskLink.SuccessorTaskId<\/li>\n<li>public <strong>property<\/strong> Microsoft.ProjectServer.Client.PublishedTaskLink.PredecessorTaskId<\/li>\n<li>public <strong>property<\/strong> Microsoft.ProjectServer.Client.PublishedTaskLink.SuccessorTaskId<\/li>\n<\/ul>\n<p><br class=\"blank\" \/><span style=\"font-size: large\"><em>\u201cSharing is caring\u201d<\/em><\/span><\/p>\n<hr \/>\n<p><i>SharePoint Team, Microsoft &#8211; 31st of August 2020<\/i><\/p>\n","protected":false},"excerpt":{"rendered":"<p>We are happy to announce the availability of new\u00a0SharePoint Client-Side Object Model (CSOM) version targeted for the Office 365 or more specifically for SharePoint and Project Online. August 2020 release.<\/p>\n","protected":false},"author":69078,"featured_media":25159,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[11,9],"tags":[35],"class_list":["post-5236","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-office-add-ins","category-sharepoint-framework","tag-onedrive"],"acf":[],"blog_post_summary":"<p>We are happy to announce the availability of new\u00a0SharePoint Client-Side Object Model (CSOM) version targeted for the Office 365 or more specifically for SharePoint and Project Online. August 2020 release.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/5236","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/users\/69078"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/comments?post=5236"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/5236\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/25159"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=5236"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=5236"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=5236"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}