SharePoint Online: Change Regional Settings using PowerShell

Requirement: Change regional settings in SharePoint Online using PowerShell. How to Change Regional Settings in SharePoint Online? By default, the regional settings are selected from Site creation Settings in the SharePoint Admin Center at the time of site creation. However, you may need to change these settings depending on your location or…

Read more

Migrate SharePoint 2010 Document Libraries to SharePoint Online using PowerShell

Requirement: Migrate Document Libraries from SharePoint 2010 to SharePoint Online. How to Migrate SharePoint 2010 Document Libraries to SharePoint Online? There are several methods that can be used to migrate a document library from SharePoint 2010 to SharePoint Online, including the SharePoint Migration Tool (SPMT), 3rd party Migration tools like ShareGate, etc….

Read more

Get All SharePoint Online Administrators in Office 365

Requirement: Get a list of All users with SharePoint Online Administrator Roles. How to Get All SharePoint Admins in Office 365? As a SharePoint Online administrator, you may need to get a list of all other SharePoint Online administrators in your Office 365 environment to have visibility into who has been assigned…

Read more

SharePoint Online: How to Convert Classic Sites to Modern Sites?

Requirement: Convert SharePoint Online site from classic to modern. How to change the classic site to a modern one in SharePoint Online? Are you looking to modernize your classic SharePoint Online site? SharePoint Modern experience has many advantages compared with classic, like better user experience, faster page loading, responsive design, etc. Several…

Read more

How to Create a Log File in PowerShell Script?

Requirement: Generate a log file and add messages to it to track the execution of a PowerShell script. How to Create a Log File in PowerShell? When creating PowerShell scripts, it’s often useful to create log files to track the progress of the script and to diagnose any issues that may arise….

Read more

SharePoint Online: Fix “The remote server returned an error (401) Unauthorized” Error in PowerShell

Problem: Exception calling “ExecuteQuery” with “0” argument(s): “The remote server returned an error (401) Unauthorized.” Error in SharePoint Online PowerShell script. Troubleshooting Checklist: When working with SharePoint Online using PowerShell, you may encounter the error “The remote server returned an error (401) Unauthorized.” This error can occur when the script is not…

Read more

SharePoint Online: Move Subsite to Another Site using PowerShell

Requirement: Move the Subsite to a new site in SharePoint Online. How to move a subsite in SharePoint Online? As a SharePoint Online administrator, you may need to move a subsite from one site to another. In this blog post, we’ll walk through the process of moving a subsite from one SharePoint…

Read more

SharePoint Online: Apply Theme using PnP Provisioning Template PowerShell

Requirement: Set Theme in SharePoint Online Site using PnP PowerShell Provisioning Template. How to Change the Site Theme in SharePoint Online using PnP Provisioning Template? In order to apply a theme to a SharePoint Online site using a PnP Provisioning Template and PowerShell, you will need to complete the following steps: Step…

Read more

Set Footer in SharePoint Online Communication Site using PowerShell

Requirement: Set Footer in SharePoint Online Communication Site using PnP PowerShell. How to Provision Footer links in SharePoint Online using PnP Provisioning Template? Go to the PnP Provisioning Schema repository on GitHub and build your provisioning template. https://github.com/SharePoint/PnP-Provisioning-Schema, Here is mine: Provisioning Template XML for Footer Links: Make necessary changes and save…

Read more

SharePoint Online: PowerShell to Break Folder Permission Inheritance

Requirement: Break Permission Inheritance of a Folder in SharePoint Online using PowerShell. How to break the inheritance of a folder in SharePoint Online? By default, folders in SharePoint Online inherit permission from their parent objects, such as document library or list. In some cases, you might want to give users different permissions…

Read more