Category: PowerShell

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

 23,772 total views,  22 views today

 23,772 total views,  22 views today 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 the “From Date” and “To Date” to the query. Let’s say we want to download certain files from the SharePoint document

Continue reading

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

 6,153 total views,  22 views today

 6,153 total views,  22 views today 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

Continue reading

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

 4,413 total views

 4,413 total views In this post, I will share how we can send emails 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”

Continue reading

[Verified] Get SharePoint remote server inventory report using PowerShell (automated email sending process)

 6,554 total views,  22 views today

 6,554 total views,  22 views today Today I will explain, how to get a SharePoint remote server inventory report using PowerShell using that we can send an email automatically to the respective recipients. And also will see, how we can monitor the SharePoint servers without much human interaction. Introduction: Sometimes we want to automate the SharePoint repeating

Continue reading

[Fixed] How to fix the wrong tenant credential error in SharePoint online?

 2,163 total views,  10 views today

 2,163 total views,  10 views today In this troubleshooting technique, we will learn about how to fix the wrong tenant credential error in SharePoint online. Issue Description: Recently I was working on to configure the hybrid environment for our tenant. In order to do that I have picked up the Hybrid Picker Wizard and following the instruction

Continue reading