SharePoint Online: Add Metadata to Search Results Page

February 26, 2019    ,
Requirement: Add Metadata to SharePoint Online Search Results SharePoint Online: How to Show Metadata in Search Results? I've a requirement to add "Project Name" column value of a document in search results. Followed these steps to add metadata properties (or custom columns) to s…

How to Get a List from GUID in SharePoint Online?

February 22, 2019    , , , , ,
Requirement: Get a List from GUID in SharePoint Online. Get List by GUID in SharePoint Online: To get a list from its GUID, you can use this URL: https://crescent.sharepoint.com/_layouts/15/listedit.aspx?List=GUID , This takes you to the list settings page of the given GUID. Let's use …

SharePoint Online: Restore Deleted Items from Recycle Bin using PowerShell

February 21, 2019    , , , , , ,
Requirement: Restore Items from recycle bin in SharePoint Online using PowerShell How to Restore Items from Recycle bin in SharePoint Online? The recycle bin in SharePoint Online site is more or less similar to what you have in your local PC. It lets you view and restore the items that have b…

SharePoint Online: Filter List Items based on Created or Modifed Date using PowerShell

February 21, 2019    , , , ,
Requirement: Filter and Get List Items based on its created or modified date values in SharePoint Online using PowerShell. How to Filter and Get List Items Created in the Past 30 Days using PowerShell? Here is the PowerShell example to get list items created in the past 30 days in SharePoint…

Import-Module : Could not load type 'Microsoft.SharePoint.Administration.DesignPackageType' from assembly 'Microsoft.SharePoint.Client, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'

February 21, 2019    , ,
Problem: When trying to import PowerShell module for SharePoint Online with "Import-Module -Name Microsoft.Online.SharePoint.PowerShell", got an error message: PS C:\> Import-Module -Name Microsoft.Online.SharePoint.PowerShell                  Import-Module : Could not load type &…

SharePoint Online: How to Stop Inheriting Permission and Setup Unique Access to a Subsite?

February 20, 2019    , , , , ,
Requirement: Break permission inheritance of a Subsite in SharePoint Online. How to Break Subsite Permission Inheritance in SharePoint Online? When we create a new subsite in SharePoint Online, we have an option to set its permission: whether the subsite should inherit permissions from its pa…

SharePoint Online: Copy List or Document Library to Another Site using PnP PowerShell

February 19, 2019    , , , , , ,
Requirement: Copy Document Library to another site using PowerShell SharePoint Online: Copy Document Library to Another site using PnP PowerShell PnP provisioning engine lets us to copy site objects such as lists and libraries, site columns, content types, composed looks, pages, etc. We can e…

SharePoint Online: Remove Unique Permissions from All Folders in a Document Library using PowerShell

February 19, 2019    , , , , ,
Requirement:  Remove unique permissions from all folders-sub-folders in a SharePoint Online document library. How to Delete Unique Permissions of a Folder in SharePoint Online? To remove unique permissions from a SharePoint Online Folder, Follow these steps: Navigate to your SharePoint Onlin…

SharePoint Online: Move Users from One Group to Another

February 18, 2019    , , , ,
Requirement: Move users from one group to another in SharePoint Online. How to Move Users Between SharePoint Online Groups? Well, there is no direct way to copy or move users between SharePoint Online groups. But you can achieve it by following below steps: Click on Settings gear >> S…

Get All Document Libraries in SharePoint Online using PnP PowerShell

February 16, 2019    , , ,
Requirement: Get all document libraries in SharePoint Online using PowerShell PnP PnP PowerShell to Get All Document Libraries in SharePoint Online  Document libraries can be filtered from Lists collection by either base template or base type properties. Here is how: #Set Variables $SiteURL = …

Set SharePoint Online Site to Read Only using PowerShell

February 15, 2019    , , ,
Requirement: Set SharePoint Online site to read only using PowerShell. How to make SharePoint Online site read only?  To make SharePoint online site collection to read only, use this PowerShell script in SharePoint Online Management Shell. #Set Parameters $AdminCenterURL="https://cresce…

SharePoint Online: Get Document Library Permissions and Export to CSV using PnP PowerShell

February 15, 2019    , , , , ,
Requirement: SharePoint Online PowerShell to Get Document Library Permissions. PnP PowerShell to Export Document Library Permissions in SharePoint Online: This PowerShell script exports all permissions of a SharePoint Online document library. # Parameters $SiteUrl = "https://crescent.sh…

SharePoint Online: Get List Item Count using PowerShell

February 14, 2019    , , , , , ,
Requirement: Get list item count in SharePoint Online using PowerShell. How to Get List Items Count in SharePoint Online? The "Site Contents" page in SharePoint Online gives you the number of items in each list and library along with the name, type, and last modified date informatio…

SharePoint Online: How to Disable Social Bar (Like, Comment, Views, Save for later) in Modern Site Pages?

February 12, 2019    , ,
Requirement: Disable Social Bar links (Like, Comment, Views, Save for later) in SharePoint Online Modern Site Pages PowerShell to Hide Social Bar Links in SharePoint Online Site Collection: The Social Bar is a new feature in SharePoint Online modern pages, that lets user to like, comment, and …

How to Show Search Refiners Count in SharePoint Online?

February 03, 2019    ,
Requirement: Show refiners count in SharePoint Online Search SharePoint Online:Search Refiners Count By default, SharePoint Online search refiners don't show results count. To enable refiners count you need to manually modify the display template file used by the search refiner web part. I…

Powered by Blogger.