{"id":2475,"date":"2019-02-01T04:23:11","date_gmt":"2019-02-01T12:23:11","guid":{"rendered":"https:\/\/developer.microsoft.com\/en-us\/office\/blogs\/?p=2475"},"modified":"2019-02-01T04:23:11","modified_gmt":"2019-02-01T12:23:11","slug":"new-sharepoint-csom-version-released-for-sharepoint-online-january-2019","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/new-sharepoint-csom-version-released-for-sharepoint-online-january-2019\/","title":{"rendered":"New SharePoint CSOM version released for SharePoint Online &#8211; January 2019"},"content":{"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. This was mainly a small maintenance release with minimal updates on the CSOM API surface.<\/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\u00a0<strong>16.1.8523.1200<\/strong>. Previous\u00a0versions of the NuGet have\u00a0<strong>not<\/strong>\u00a0been removed so that your existing solutions will continue working without issues and you can decide when the new version is taken into use.\u00a0Notice that even though the NuGet version is increased to 16.1.8523.1200, actual assembly version of the released assemblies is 16.1.0.0. You can also check the version of the assemblies from the\u00a0<em>File Version attribute<\/em>, which aligns with the NuGet version.<\/p>\n<p><img decoding=\"async\" class=\"alignnone wp-image-2476 size-full\" src=\"https:\/\/officedevblogs.wpengine.com\/wp-content\/uploads\/2019\/02\/csom.png\" alt=\"\" width=\"1200\" height=\"698\" srcset=\"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2019\/02\/csom.png 1200w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2019\/02\/csom-300x175.png 300w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2019\/02\/csom-1024x596.png 1024w, https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-content\/uploads\/sites\/73\/2019\/02\/csom-768x447.png 768w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<p><a href=\"https:\/\/www.powershellgallery.com\/packages\/Microsoft.Online.SharePoint.PowerShell\">SharePoint Online Management Shell<\/a>\u00a0has 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 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\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>.\u00a0We have released separate NuGet packages for on-premises. See following blog post for additional details &#8211;\u00a0<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>class<\/strong> Microsoft.SharePoint.Client.AsyncReadJobInfo<\/li>\n<li>public <strong>class<\/strong> Microsoft.SharePoint.Client.AsyncReadOptions<\/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.SiteProperties.Description<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.SiteProperties.OwnerLoginName<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.ExternalUserExpirationRequired<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.ExternalUserExpireInDays<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.GuestSharingGroupAllowListInTenantByPrincipalIdentity<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.SyncAadB2BManagementPolicy<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantAdministration.Tenant.WhoCanShareAllowListInTenantByPrincipalIdentity<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.ExternalUserExpirationRequired<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.ExternalUserExpireInDays<\/li>\n<li>public <strong>property<\/strong> Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.SyncAadB2BManagementPolicy<\/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.Task.IsDurationEstimate<\/li>\n<\/ul>\n<p><span style=\"font-size: large\"><em>\u201cSharing is caring\u201d<\/em><\/span><\/p>\n<p>&nbsp;<\/p>\n<hr \/>\n<p><i>SharePoint Team, Microsoft &#8211; 1st of February 2018<\/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. January 2019 release.<\/p>\n","protected":false},"author":69078,"featured_media":2477,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2475","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-microsoft-365-developer"],"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. January 2019 release.<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/2475","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=2475"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/posts\/2475\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media\/2477"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/media?parent=2475"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/categories?post=2475"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/microsoft365dev\/wp-json\/wp\/v2\/tags?post=2475"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}