PnP PowerShell can be used to automate the deployment, publishing, installing, upgrading and retracting apps in SharePoint online as well as SharePoint on-premises. In this blog, we will look at steps to get, add, install, deploy, update, remove and uninstall SharePoint app to Modern Site using PnP PowerShell. Adding and publishing app to the app catalog: Adding app (.sppkg file, .app […]
SharePoint App Operations Using PnP PowerShell
Crud Operations on a List
This code block is related to create, delete, update and add list items to a custom list. [code lang=”c”] using System; using Microsoft.SharePoint.Client; using System.Security; namespace List_Crud_Operations { class Program { static void Main(string[] args) { ClientContext ctx = new ClientContext(“http://portal/sites/site1”); Web web = ctx.Web; var password = “Password”; SecureString secureString = new SecureString(); foreach (char c in password.ToCharArray()) secureString.AppendChar(c); […]
SharePoint 2019: Added and Depreciated Features
The strikingly easy user interface and versatile capability of SharePoint make it the most widely adopted platform by many organizations. With previous SharePoint versions fluidly working in harmony with many other technologies and helping people in the organizations to accomplish the most challenging jobs with perfection, everyone is eying for impeccability of newer version- The SharePoint 2019. With the announcement […]