Category: PnP PowerShell

[Fixed] Server relative urls must start with SPWeb.ServerRelativeUrl”in reading web part properties!

[Fixed] Server relative urls must start with SPWeb.ServerRelativeUrl"in reading web part properties!

 123 total views

 123 total views Recently I was working on, to the get webpart properties details from the SharePoint site page using the PowerShell CSOM, then I got this error “Exception calling “ExecuteQuery” with “0” argument(s): “Server relative urls must start with SPWeb.ServerRelativeUrl”in reading web part properties!:“. In this, SharePoint troubleshooting I will share how to fix this

Continue reading

[Verified] Get all webparts from pages in a site using PowerShell in SharePoint Online

[Verified] Get all webpart properties from SharePoint Online site page using the PowerShell script

 305 total views

 305 total views In this tutorial, I will share how we can get all webparts from pages in a site using PowerShell CSOM and get web part properties using PnP PowerShell.   Key Highlights Get all webparts from pages in a site using PowerShell CSOM and get web part properties using Powershell Retrieve webparts properties from

Continue reading

3 ways add a picture library in the communication site – SharePoint Online

 4,009 total views,  2 views today

 4,009 total views,  2 views today In modern SharePoint, we can create only two types of site 1. Team Site and 2. Communication Site. In the modern communication or team site, we can not add all lists/libraries the way we used to add in the classic SharePoint site, because many templates are kept hidden due to some

Continue reading

Create SharePoint online list using PnP provisioning template

 8,558 total views,  2 views today

 8,558 total views,  2 views today In this article, we will learn about how to create a SharePoint online list using the PnP provisioning template and how to create a list template from SharePoint Online using PnP PowerShell. Introduction to PnP provisioning template What is PnP provisioning? With the introduction of Microsoft Office 365 and Microsoft SharePoint

Continue reading

Get workflow inventory from SharePoint online using PowerShell CSOM

 2,421 total views

 2,421 total views   In this tutorial, we will learn about how we can get workflow inventory from the SharePoint Online tenant using PowerShell CSOM and PnP PowerShell. This script will scan through all the sites in a tenant and will export all workflows associated with the lists into a CSV file which will give consolidated

Continue reading

Create a modern team site using PnP PowerShell in SharePoint

Should we create a team site or communication site?

 5,775 total views,  4 views today

 5,775 total views,  4 views today   In this tutorial, we will learn about what is a modern team site in SharePoint, what is a communication site in SharePoint online, what is the difference between team site and communication site in SharePoint Online. Then we will learn about how to create a modern team site in SharePoint

Continue reading

In 2 steps convert a classic SharePoint page to modern using PnP

 5,204 total views,  10 views today

 5,204 total views,  10 views today   Over the many years we as a SharePoint professional, we have been using the SharePoint classic page both in SharePoint on-premise and SharePoint online(classic). But recently in the last couple of years, Microsoft has been focusing to convert the classic SharePoint to modern SharePoint. So in this article, we will

Continue reading

[Verified] Office 365: Retrieve hub sites and associated sites using PnP Powershell

 2,912 total views,  8 views today

 2,912 total views,  8 views today   In this article, we will learn about how to retrieve hub sites and associated sites using PnP Powershell and Office 365 admin center URL or SharePoint admin center URL. PnP PowerShell script to get all sites connected to a hub site: Using PnP PowerShell get all associated or connected sites

Continue reading

Office 365: Getting started with SharePoint PnP PowerShell – installation

 7,834 total views,  2 views today

 7,834 total views,  2 views today PnP PowerShell overview The SharePoint Patterns and Practices – short name PnP is a collection library which contains array of PowerShell commands – named as PnP PowerShell which allows us(SharePoint administrator or developer) to perform complex provisioning and artifact management actions in SharePoint. The PnP powershell is built on SharePoint CSOM

Continue reading