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

Requirement:  Delete a file from SharePoint Online document library using PowerShell How to Delete a File in SharePoint Online? To delete a single document from a library, do the following: In SharePoint Online site, Navigate to the document library.  Select the File you want to delete and Click on “Delete” button from…

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 global search center from SharePoint central admin site to set default search center site for all site collections. SharePoint 2016 Default Search Center Once the…

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 type of Libraries! A little background: End-user created a document library with column “Description” as “Multiple lines of text” and expecting this column to have the Rich text capability. So, tried editing the column, and found no…

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, 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. So…

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’ve a project tracking list with “Status” column. We wanted to have an insight on when a particular item’s status was set to “Rejected”. PowerShell to Compare…

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 completed and 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 Change Group Permissions How to Update permissions for a SharePoint group? To edit group permissions in SharePoint Online, following these steps: Login to your SharePoint Online site as a administrator >> On the site collection Home page, click on Settings icon >> Click Site settings. On the Site Settings…

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? Site collection administrators in SharePoint Online have full control for the entire site collection, including the root site and all the subsites, lists, and libraries in the site collection. To remove a site…

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