Office 365 – Microsoft announced new version CSOM (Client Side Object Model) for SharePoint Online and Project Online – March 2019

Microsoft announced new version of CSOM (Client Side Object Model) for SharePoint Online and Project Online.
We will get latest version of CSOM package for SharePoint Online and Project Online from the NuGetgallery having search term or with an ID – “Microsoft.SharePointOnline.CSOM”.
The latest version of CSOM package is 16.1.8715.1200 as

Fig 1 : Office 365 – SharePoint Online / Project Online : New version of CSOM package
Fig 2 : Office 365 – SharePoint Online / Project Online : Latest CSOM details in NuGet
Note: 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 class Microsoft.SharePoint.Administration.SPSiteCreationAuditContext
- public enum Microsoft.SharePoint.Administration.SPSiteCreationSource
- public method Microsoft.SharePoint.Client.File.OpenBinaryStreamWithOptions
- public class Microsoft.SharePoint.Client.PortalAndOrgNewsSiteReference
- public enum Microsoft.SharePoint.Client.SearchScopeType – Enum values are: DefaultScope, Tenant, Hub, Site
- public class Microsoft.SharePoint.Client.SPHSite
- public class Microsoft.SharePoint.Client.SPHSiteReference
- public enum Microsoft.SharePoint.Client.SPOpenBinaryOptions
- public property Microsoft.SharePoint.Client.Web.DisableRecommendedItems
- public property Microsoft.SharePoint.Client.Web.SearchScope – To set the default scope in site level
In Microsoft.Online.SharePoint.Client.Tenant
Following properties, classes and methods have been added.
- public property Microsoft.Online.SharePoint.TenantAdministration.SiteProperties.GroupId
- public property Microsoft.Online.SharePoint.TenantAdministration.SiteProperties.RelatedGroupId
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.EnableCommSite
- public property Microsoft.Online.SharePoint.TenantAdministration.Tenant.EnablePromotedFileHandlers
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.GetSPHSiteUrl
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.RemoveSPHSite
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.SetOrgAssets
- public method Microsoft.Online.SharePoint.TenantAdministration.Tenant.SetSPHSite
- public property Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.EnablePromotedFileHandlers
- public method Microsoft.Online.SharePoint.TenantManagement.Office365Tenant.SetOrgAssetsLib
New cmdlets in SharePoint Online Management Shell
Here’s a list of new cmdlets included in the SharePoint Online Management Shell release.
- Enable-SPOCommSite –
- Can be used to transform existing classic team site from the root site collection of a tenant as a communication site
- Get-SPOHomeSite
- Remove-SPOHomeSite
- Set-SPOHomeSite
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.
You must log in to post a comment.