Category: PnP PowerShell

Office 365: How to create content type in SharePoint Online using PowerShell?

Office 365 - How to create content type in SharePoint Online using PowerShell?

 333 total views,  8 views today

 333 total views,  8 views today In this tutorial, we will learn about how to create a content type in SharePoint Online using PowerShell and PnP PowerShell. Key-Highlights What is the content type in SharePoint Online? What is the use of a content type in SharePoint Online? How to create a content type in SharePoint Online using

Continue reading

Office 365: How to create document library in SharePoint Online using PowerShell?

 424 total views,  12 views today

 424 total views,  12 views today In this tutorial, we will learn about how to create document library in SharePoint Online using PowerShell script and PnP PowerShell. Key-Highlights: What is the document library in SharePoint? When to use the document library in SharePoint Online? How to create a document library in SharePoint Online using PowerShell script? Verify

Continue reading

[Fixed] Error – activate the SharePoint Server Publishing Infrastructure feature in SharePoint Online site

[Fixed] Error – activate the SharePoint Server Publishing Infrastructure feature in SharePoint Online site

 2,879 total views,  30 views today

 2,879 total views,  30 views today When I was trying to activate the “SharePoint Server Publishing Infrastructure” feature in the SharePoint online communication site, getting the error – “Sorry, something went wrong An unexpected error has occurred. Technical Details, Troubleshoot issues with Microsoft SharePoint Foundation.” The error message as below: Sorry, something went wrong An unexpected error

Continue reading

[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!

 2,531 total views,  18 views today

 2,531 total views,  18 views today 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

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

 2,745 total views,  12 views today

 2,745 total views,  12 views today 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

Continue reading

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

 9,177 total views,  74 views today

 9,177 total views,  74 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

 15,838 total views,  42 views today

 15,838 total views,  42 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

 7,287 total views,  18 views today

 7,287 total views,  18 views today   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

Continue reading

Create a modern team site using PnP PowerShell in SharePoint

Should we create a team site or communication site?

 10,103 total views,  36 views today

 10,103 total views,  36 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

 11,468 total views,  70 views today

 11,468 total views,  70 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