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. When you have to provide unique permissions to folders, you have…

Read more

SharePoint Online: How to Create a New List from Existing List?

Requirement: Create a list from an existing list in SharePoint Online. SharePoint Online: Create a List from an Existing List Creating a list similar to the existing list structure is a common requirement in SharePoint. We used the “Site list as Template” approach in previous versions of SharePoint and in the Classic…

Read more

SharePoint Online: Remove a Custom Theme using PowerShell

Requirement: Remove a custom theme in SharePoint Online If you’ve ever customized your SharePoint Online site by adding a custom theme, you may have later decided that you don’t like the look and feel of the theme. Or maybe someone else in your organization has created a custom theme that you don’t…

Read more

SharePoint Online: CAML Query with IsNull and IsNotNull Examples in PowerShell

Requirement: Get all items from a list where a particular filed value is Null. SharePoint Online: CAML Query IsNull Example Here is the example of how the IsNull operator can be used in CAML: SharePoint Online: CAML query with IsNotNull Operator in PowerShell Similarly, You can use “<IsNotNull>” Operator to get list…

Read more

How to Add Owner to Office 365 Group using PowerShell?

Requirement: Add Owner to Office 365 group using PowerShell How to Set Group Owners in Office 365? If you are managing Office 365 Groups, you may need to add an owner to the group. In this blog post, we will walk you through the process of adding an owner to an Office…

Read more

Find All Office 365 Group Owners using PowerShell

Requirement: Get Office 365 Group Owners How to Get Office 365 Group Owners? If you need to get a list of Office 365 Group owners in your organization, this guide is for you! This blog post will show you how to use PowerShell to find all group owners in Office 365. Let’s…

Read more

Fix “Connect-AzureAD : The term ‘Connect-AzureAD’ is not recognized as the name of a cmdlet, function, script file, or operable program.” Error

Problem: When trying to connect to Azure AD from PowerShell, using: “Connect-AzureAD” cmdlet, received an error: “Connect-AzureAD: The term ‘Connect-AzureAD’ is not recognized as the name of a cmdlet, function, script file, or operable program.” Solution for Connect-AzureAD not recognized Issue: Install the Azure AD Module! Open PowerShell as an administrator, Enter:…

Read more

SharePoint Online: Get Files and Sub-Folders Count on Each Folder in a Document Library using PowerShell

Requirement:  Get the count of files and sub-folders at each folder in a SharePoint Online document library How to Get the Number of Files and Sub-Folders at Each Folder of a Document Library? When a document library has multiple folders, sub-folder, and files, you can get the number of files and sub-folders…

Read more