SharePoint Online: Grant Site Owner Permission to a User with PowerShell

Requirement: Grant Site Owner Permissions to a User in SharePoint Online How to Grant Site Owner Permissions to a User in SharePoint Online? By adding people to the SharePoint Online site owners group, they can manage the site and perform typical site administration activities such as setting site branding and structure, adding…

Read more

SharePoint Online: Get File Size using PowerShell

Requirement: Get file size in SharePoint Online using PowerShell How to Get the File Size in SharePoint Online? Have you ever needed to get the size of a file in SharePoint Online? Maybe you need to know how much storage space is occupied by a file in your SharePoint Online document library….

Read more

SharePoint Online: How to Get a List using PowerShell?

Requirement: PowerShell to Get a List in SharePoint Online SharePoint Online: PowerShell to Get a List PowerShell is a powerful scripting language that can be used to automate tasks and manage your SharePoint Online environment. This guide will show you how to use PowerShell to get a list in SharePoint Online. Here…

Read more

How to Add Twitter Feed in SharePoint Online?

Requirement: Add the Twitter feed to SharePoint Online pages. How to Add Twitter Feed to SharePoint Online? You may want to add Twitter feeds relevant to your audience on your SharePoint Online site. We used Script Editor Web Part to embed Twitter code into SharePoint in the past. Well, not anymore in…

Read more

Fix “There was an error while attempting to get the themes” Error in SharePoint Online

Problem: When trying to change the site theme in SharePoint Online through “Settings >> Change the Look >> Theme,” I got an error message “There was an error while attempting to get the themes”. Workaround: You may encounter this issue when you make multiple changes to the site’s look and feel, like…

Read more

How to Embed Excel Spreadsheet to Modern SharePoint Online Pages?

Requirement: Display Excel Spreadsheet in SharePoint Online. SharePoint Online: How to Embed an Excel Spreadsheet? We don’t have Excel Web Access Web Part in modern SharePoint Online sites that integrate an Excel sheet into SharePoint pages. However, we can use the Embed web part to display an Excel spreadsheet in SharePoint Online:…

Read more

SharePoint Online: Link to Force Download a Document Instead of Open

Requirement: Force download a file instead of opening it in SharePoint Online SharePoint Online: URL to Document Download Instead of Open Documents (Word/Excel/PowerPoint/PDF file types) linked in SharePoint Online pages, navigation menu, lists, etc., open in the browser (or in client application!) directly either in Read-only mode or in Edit mode, based…

Read more

SharePoint Online: How to Register a Never Expiring App ID Secret with Azure AD?

Requirement: Register a never-expiring App for SharePoint Online using Azure AD. Any App ID (or Client ID) registered through SharePoint Online has an expiry date of 1 year by default. How do I register an App ID that’s never expiring? Well, You have to register the App through Azure AD! Here are…

Read more

SharePoint Online: Upload Large Files using PowerShell

Requirement: Upload large files to SharePoint Online using PowerShell PowerShell to Upload a large file to SharePoint Online Suppose you try to upload files with > 250 MB file size to SharePoint Online using CSOM Files.Add method, or PnP PowerShell Add-PnPFile methods you’ll end up in errors: “The remote server returned an…

Read more

SharePoint Online: How to Enable or Disable Subsite Creation?

Requirement: Disable subsite creation in SharePoint Online. How to enable subsites in SharePoint Online? The traditional information architecture in SharePoint site collections and subsites is site collections have a top-level site and may have a number of sub-sites underneath. However, the recent recommendation from Microsoft is to avoid subsites and create site…

Read more