Migrate SharePoint 2010 Document Libraries to SharePoint Online using PowerShell

June 16, 2019    , , , , , ,
Requirement: Migrate Document Libraries from SharePoint 2010 to SharePoint Online. How to Migrate SharePoint 2010 Document Libraries to SharePoint Online? The idea is: Export all document libraries from SharePoint On-premises to local drive, export metadata of each document to a CSV file and then Import them to SharePoint Online. Before we begin, Please note, this is not a full fledged migration script which can migrate metadata, security, version history, etc. This script only copies document libraries with its file-folders and metadata "Created by", "Created On", "Modified By", "Modified On" to SharePoint Online. You need 3rd party migration tools if you want migrate all missing pieces! Step 1: Export SharePoint On-Premises Document Library As a first step, Login to any of your SharePoint On-premises web front end server and run the below PowerShell script to export either a single document library or all document libraries from ShareP
Migrate SharePoint 2010 Document Libraries to SharePoint Online using PowerShell Migrate SharePoint 2010 Document Libraries to SharePoint Online using PowerShell Reviewed by Salaudeen Rajack on June 16, 2019 Rating: 5

SharePoint Online: Change UI to Modern Experience or Classic Experience using PowerShell

May 19, 2019    , ,
Requirement: Change Classic Experience to Modern Experience and Modern UI to Classic in SharePoint Online. How to Activate Modern Experience from Classic? The modern experience in SharePoint Online lists and libraries is faster, mobile friendly and easier to use.  It brings new functionalities and components, However, some features can only be used in the classic experience. So, you may need to switch between modern UI and classic experience in SharePoint Online. To enable modern experience in SharePoint Online, use the link "Exit classic Experience" at the bottom left corner. This turns ON modern experience. To disable modern experience and switch back to classic in SharePoint Online use the link "Return to Classic SharePoint" PowerShell to Switch Between Modern Experience and Classic Experiences To enable modern experience, we have to disable classic experience feature and to disable modern experience we should re-enable the classic experience feature
SharePoint Online: Change UI to Modern Experience or Classic Experience using PowerShell SharePoint Online: Change UI to Modern Experience or Classic Experience using PowerShell Reviewed by Salaudeen Rajack on May 19, 2019 Rating: 5

SharePoint Online: Find Duplicate Files using PowerShell

April 23, 2019    , ,
Requirement: Find Duplicate Documents in SharePoint Online. When multiple people from different teams work together, there is a huge possibility for duplicate content in SharePoint. People may have uploaded a same document to different libraries or even different folders in document libraries. So, How to find duplicate documents in SharePoint Online? SharePoint Online: Find Duplicate Documents using PowerShell - File Hash Method Lets find duplicate files in a SharePoint Online document library by comparing File hash. #Load SharePoint CSOM Assemblies Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll" Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll" #Parameters $SiteURL = "https://crescenttech.sharepoint.com" $ListName ="Documents" #Array to Results Data $DataCollection = @()
SharePoint Online: Find Duplicate Files using PowerShell SharePoint Online: Find Duplicate Files using PowerShell Reviewed by Salaudeen Rajack on April 23, 2019 Rating: 5

How to Get Office 365 Group Members using PowerShell?

April 07, 2019    ,
Requirement: Get Members of Office 365 Group using PowerShell How to Get Office 365 Group Members? To get a list of members in Office 365 group from Microsoft 365 admin center, Login to the Microsoft 365 Admin Center site: https://admin.microsoft.com Expand Groups and Click on Groups link in the left navigation.  Groups page lists all groups in your Office 365 tenant. Pick the desired group to list users in group. This opens the group's details page which lists group members PowerShell to Get Group Members in Office 365: Here is the Office 365 PowerShell get group members #Get Credentials to connect $Credential = Get-Credential #Create the session $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ ` -Credential $Credential -Authentication Basic -AllowRedirection #Import the session Import-PSSession $Session -DisableNameChecking #Get all Members of Office 365 Group Get-Unifie
How to Get Office 365 Group Members using PowerShell? How to Get Office 365 Group Members using PowerShell? Reviewed by Salaudeen Rajack on April 07, 2019 Rating: 5

How to Export a List Template in SharePoint Online using PowerShell?

January 30, 2019    , ,
Requirement: Export List Templates in SharePoint Online using PowerShell List templates in SharePoint Online enables you to reuse any list with its fields, formulas, formatting, and optionally data in other site collections without re-creating the list again. List Templates should be downloaded and uploaded to another sites in order to create lists from it. Here is how to download a list template SharePoint Online. How to Export a List Template in SharePoint Online? To download a list template from SharePoint Online site,   Click on Settings gear >> Site settings page >> Click on "List Templates" under Web Designer Galleries (List template gallery in SharePoint Online URL: https://yourdomain.sharepoint.com/_catalogs/lt/Forms/AllItems.aspx) In the "List templates Gallery", Click on "Name" column link for the list template you want to download.  This triggers file download prompt, click Save to download the file. List Templates fe
How to Export a List Template in SharePoint Online using PowerShell? How to Export a List Template in SharePoint Online using PowerShell? Reviewed by Salaudeen Rajack on January 30, 2019 Rating: 5

How to Import List Template in SharePoint Online using PowerShell?

January 30, 2019    , , ,
Requirement: Import List Templates in SharePoint Online using PowerShell Why we need list templates in SharePoint Online? Well, If you have a list with set of columns and customization in SharePoint Online, You can reuse it in any other site collections without re-creating the list again from the scratch. A list template contains fields, formulas, formatting, and optionally data as well. List Templates can be downloaded and uploaded to another sites. Here is how to use list template SharePoint Online: SharePoint Online List Template Gallery URL List template gallery in SharePoint Online URL: https://yourdomain.sharepoint.com/_catalogs/lt/Forms/AllItems.aspx How to Import a List Template in SharePoint Online? List templates (.STP) downloaded, should be uploaded to any site collection's list template gallery in order to re-use. Here is how to upload a list template to SharePoint Online. Go to Settings >> Site settings page >> Click on "List templates"
How to Import List Template in SharePoint Online using PowerShell? How to Import List Template in SharePoint Online using PowerShell? Reviewed by Salaudeen Rajack on January 30, 2019 Rating: 5

Connect Existing Team Sites to New Office 365 Group

January 26, 2019    ,
Requirement:   A SharePoint Online team site (Classic / Modern Experience) users wants to  transform their existing site to Office 365 group to take advantage of Office 365 Group offerings such as Shared mailbox, Planner, Teams, etc. How to Connect to New Office 365 Group in SharePoint Online? When you create a new Office 365 group, there will be an associated SharePoint Team site is created automatically. In this case, we need a new Group with an existing team site. To start with, make sure connect to Office Group is enabled at tenant level. Login to SharePoint Online Admin Center >> Click on Settings from left navigation In settings page, under "Connections from sites to Office 365 groups", Set "Allow site collection administrators to connect sites to new Office 365 groups". Not all site templates can be associated with Groups (Not supported: BICENTERSITE#0, BLANKINTERNET#0, ENTERWIKI#0, SRCHCEN#0, SRCHCENTERLITE#0, POINTPUBLISHINGHUB#0, POINTPUBLI
Connect Existing Team Sites to New Office 365 Group Connect Existing Team Sites to New Office 365 Group Reviewed by Salaudeen Rajack on January 26, 2019 Rating: 5

SharePoint Online: How to Deploy a Design Package Solution (WSP) using PowerShell?

December 30, 2018    , ,
Requirement: Deploy a design package solution (WSP) in SharePoint Online. Prerequisites: You must activate publishing infrastructure feature both at site collection and site levels before deploying any design package! How to Deploy a Solution Package using PowerShell? You may have a solution package WSP file for site template or design package for branding or some other sandbox solution, Here is how the SharePoint Online Solution Deployment works: Upload the WSP File to Solution Gallery and Activate the solution: Use the following steps to deploy a WSP solution in SharePoint Online. Log in as a Site Collection Administrator >> Navigate to your SharePoint Online Site Collection (Root Site) >> Click on "Site settings". In the site setting page, Click on "Solutions" link under the "Web Designer Galleries" section. This opens the solution page as below screen. On the solutions page, Click on the "upload solution" button from the
SharePoint Online: How to Deploy a Design Package Solution (WSP) using PowerShell? SharePoint Online: How to Deploy a Design Package Solution (WSP) using PowerShell? Reviewed by Salaudeen Rajack on December 30, 2018 Rating: 5

How to Add Help Desk Contact to Office 365 Help Menu?

December 14, 2018    ,
How to Add Your Help Desk Contact Information to Help Pane in Office 365? Adding your help desk contact information to the help pane in Office 365 - SharePoint Online helps users to quickly access your help desk. Here is how to add custom help desk info: Sign in to Office 365Admin Center as a Global Admin >> In the Office 365 admin center, Click on Settings >> Organization profile Click on Edit Button next to Provide customized help desk contact info Turn ON Help desk card Provide data for fields which you want to display on Card and Click on Save These changes reflect from next time users sign in. You'll find the custom help desk contact details in SharePoint Online, Exchange, etc.
How to Add Help Desk Contact to Office 365 Help Menu? How to Add Help Desk Contact to Office 365 Help Menu? Reviewed by Salaudeen Rajack on December 14, 2018 Rating: 5

SharePoint Online: Disable Page Comments in Modern Sites using PowerShell

November 14, 2018    , ,
Requirement: Disable page comments in SharePoint Online Modern Sites and Communication sites. How to Disable Page Comments in SharePoint Online? Modern pages in SharePoint Online have a comments section at the bottom of each page for better collaboration. Option 1: Disable Comments at the tenant level Page comments can be turned-off at tenant level by the below settings: Navigate to SharePoint Online Admin Center: https://yourdomain-admin.sharepoint.com   Click on Settings from left navigation On the Settings page, Select "Disable Comments on Site Pages." Click OK to save your changes. Wait for a while, the comments section disabled from all pages in the tenant. Option 2: Disable Comments at the Page Level   Comments can be disabled at page level. Here is how: Navigate to the SharePoint Online Site page >>  Edit the page. Turn off the comments by toggle the switch from ON to OFF position and Publish the page. This disables comments section in t
SharePoint Online: Disable Page Comments in Modern Sites using PowerShell SharePoint Online: Disable Page Comments in Modern Sites using PowerShell Reviewed by Salaudeen Rajack on November 14, 2018 Rating: 5
Powered by Blogger.