SharePoint Online Automation – O365 – Download files from a document library using PowerShell CSOM

Here in this post – I will show how we can download files or documents from SharePoint online document library using PowerShell CSOM programmatically from the given date by passing “From Date” and “To Date” to the query. Lets say we want to download certain files from SharePoint document library those were created between these

Continue reading

SharePoint Online Automation – O365 – Create multiple items in a list using PowerShell CSOM

Here in this post, I will show how to create multiple list items in SharePoint online list using  PowerShell CSOM code programmatically. PowerShell CSOM code to add multiple items: CLS #Load SharePoint CSOM Assemblies #Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll” #Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll” $fileName = “Adding_Multiple_Items_Report” $enddate =

Continue reading

SharePoint Server Error: http://go.microsoft.com/fwlink?LinkID=177673

In this article we will learn about when we get “Server error: http://go.microsoft.com/fwlink?LinkID=177673” from SharePoint sites and how to fix it. Issue Description During our SharePoint content database migration we have faced this issue. Lets say we have migrated the content database from SharePoint one version to another version(for example SharePoint 2010 to SharePoint 2013).

Continue reading

SharePoint Online Automation – O365 – Send email from SharePoint online Using CSOM PowerShell script

In this post I will share how we can send email from SharePoint online using CSOM PowerShell script code programmatically. CSOM PowerShell Script to send email from SharePoint online CLS #Load SharePoint CSOM Assemblies #Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll” #Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll” $fileName = “Email_Sending_Report” $enddate =

Continue reading

Get SharePoint list URL by list ID

Sometimes due to some reason when SharePoint developer is shared only with SharePoint site url and list id – using this two combination, they need to generate the default view URL.  Then how can we construct the list URL? I will show here in this post how we can get SharePoint list URL by list

Continue reading

SharePoint Server Error: “Sorry, something went wrong. There was an exception in the Database. …..”

How to fix “Sorry, something went wrong. There was an exception in the Database. Please retry your operation and if the problem persists, contact an administrator” in SharePoint 2016 search. Issue Descriptions: All of a sudden, our SharePoint 2016 search is not working. From the browser getting the below error: ULS log report from front

Continue reading

SharePoint Migration: Basic tips and tricks in migration project

Sometimes while we do the SharePoint content database migration thru the detach and attach method – we may encounter with errors. However, if we open the migrated site still it does open and work. Here, I will explain how we can reduce the possibility of getting the error and some basic tips and tricks in

Continue reading

SharePoint Calculated Column: How to fix “failed to save modifications to the server” error while creating the calculated column?

While creating the calculated column in SharePoint, sometimes we may get the below error: “Failed to save modifications to the server. Error returned: ‘An unexpected error occurred (file ‘tmmdmodeltm.cpp’, line LineNumber, function ‘MDModelTM::CreateHierIterRequest’).” In this post I will show that how to fix “failed to save modifications to the server” error while creating the calculated

Continue reading

O365 – What is the version of SharePoint Online?

Sometimes we may need to know that what is the version of SharePoint online. In this post I will share the shortcut technique to get the version of SharePoint online. Description: We can get the version of SharePoint online – using the below URL: https://.sharepoint.com/_vti_pvt/service.cnf Example: https://globalsharepoint.sharepoint.com/_vti_pvt/service.cnf SharePoint Online version is: 16.0.0.19228 Screenshot: In SharePoint

Continue reading