SharePoint Online: How to Delete a File from Document Library using PowerShell?

Requirement:  Delete a file from the SharePoint Online document library using PowerShell How to Delete a File in SharePoint Online? One of the most common tasks you will need to do with SharePoint is to delete files. In this blog post, we will show you how to delete a file in SharePoint…

Read more

Set Global Search Center in SharePoint 2016

So, you have your search center site ready for SharePoint 2013 (Use this article: Create Enterprise Search Center using PowerShell). As a next step, you should configure the global search center from SharePoint central admin site to set the default search center site for all site collections. SharePoint 2016 Default Search Center…

Read more

Add Rich Text Column in SharePoint Document Library

Problem: Could not add rich text columns to SharePoint document library, Picture Library, and other types of Libraries! A little background: End-user created a document library with column “Description” as “Multiple lines of text” and expected this column to have the Rich text capability. So, I tried editing the column and found…

Read more

Fix “Get-SPOSite: The Site ‘https://tenant.sharepoint.com/’ is not properly formed” Error in SharePoint Online

Problem: When trying to connect to SharePoint Online site collection, I got this error message “Get-SPOSite The Site Tenant-URL is not properly formed.” Solution: The solution is simple! Just remove the trailing “/” from the URL! E.g., In my case, instead of “https://crescent.sharepoint.com/sites/marketing/”, I had to remove the backslash “/ “after marketing….

Read more

Compare SharePoint List Item Version History using PowerShell

Requirement: Compare version history data of SharePoint List items and update a metadata column based on a particular field’s value change. A bit of background: We have a project tracking list with the “Status” column. We wanted to have an insight on when a particular item’s status was set to “Rejected”. PowerShell…

Read more

SharePoint Online: Change User Permissions using PowerShell

Requirement:  Edit user permissions in SharePoint Online How to change user permissions in SharePoint Online Site? You want to change the user’s permission on a particular site/library/item in SharePoint Online. E.g., Once a particular project has been completed, you no longer want the team member to add or edit the project’s supporting…

Read more

SharePoint Online: Change Group Permissions using PowerShell

Requirement: SharePoint Online Edit Group Permissions. How to Update Permissions for a SharePoint Group? In this blog post, we will look at how to change permissions for groups in SharePoint Online step-by-step, We’ll also show you how to use PowerShell to change group permissions which can be very useful if you need…

Read more

SharePoint Online: Remove Site Collection Administrator using PowerShell

Requirement: Remove Site collection Administrator using PowerShell in SharePoint Online. How to remove site collection administrator(s) in SharePoint Online? As a SharePoint Online administrator, You can remove a site collection administrator from a SharePoint Online site using SharePoint Admin Center or PowerShell. This blog post will demonstrate removing an individual user from…

Read more

SharePoint Online: Get List by Title using PowerShell

Requirement: PowerShell to get a list by title in SharePoint Online SharePoint Online: PowerShell to Get List by Title In this blog post, we will go over how to get a list by title in SharePoint Online using PowerShell. Here is how to get a list by its title: PnP PowerShell to…

Read more

Fix for SharePoint 2016 Project Templates Missing in Visual Studio 2015

Problem: SharePoint Project Templates are missing in Visual Studio 2015! Solution: We need to install “Microsoft Office Developer Tools for Visual Studio 2015” for SharePoint 2016 project templates in Visual Studio 2015. For SharePoint 2010/2013, download and install: Microsoft Office Developer Tools for Visual Studio 2015 For SharePoint 2016, Download and install:…

Read more