Fix “The sign-in name or password does not match one in the Microsoft account system” Error in SharePoint Online

Problem: Getting “The sign-in name or password does not match one in the Microsoft account system” Error in SharePoint Online. Solution: I’ve experienced this error in SharePoint Online PowerShell scripts a couple of times. This could happen in any PowerShell method like CSOM, SharePoint Online Management Shell, or PnP PowerShell. Here are…

Read more

Disable Kindle/YouTube/Twitter Web Parts at Tenant Level in SharePoint Online

SharePoint Online Administrators can hide the Kindle/YouTube/Twitter web parts, which are included in the modern SharePoint Online site web parts toolbox by default, at the tenant level using PowerShell cmdlet Set-SPOTenant -DisabledWebPartIds @(“Web Part IDs”). To disable a specific web part, you need to enter its GUID as the parameter: Twitter (f6fdf4f8-4a24-437b-a127-32e66a5dd9b4)….

Read more

How to Sync File Share to SharePoint Online using PowerShell?

Requirement: Sync Fileshare to SharePoint Online using PowerShell PowerShell Script to Sync File share to SharePoint Online document Library If you are using File Shares, you may find the need to keep your file shares in sync with SharePoint Online or OneDrive for Business. Perhaps you want to keep data in both…

Read more

SharePoint Online: Grant Access to ‘Everyone’, ‘Everyone Except External Users’ using PowerShell

Requirement: Grant Access to “Everyone” and “Everyone Except External Users” groups in SharePoint Online. How to Grant Access to Everyone or Everyone Except External Users Groups? Prerequisites: Make sure You have Enabled “Everyone” and “Everyone Except External Users” claims in SharePoint Online before running these PowerShell scripts. Granting access rights to either…

Read more

SharePoint Online: Copy Site Pages from One Site to Another using PowerShell

Requirement: Copy site pages to another site in SharePoint Online. SharePoint Online: How to Copy a Page to Another Site Collection? Do you need to copy a page from one SharePoint Online site collection to another? Maybe you want to duplicate a page for testing purposes or create a similar page in…

Read more

SharePoint Online: Update List Items from a CSV File using PowerShell

Requirement: Update SharePoint Online List from a CSV using PowerShell PowerShell to Update SharePoint Online List from CSV File Have you ever needed to update SharePoint Online list items from a CSV file? Perhaps you need to do some bulk editing of list data. In this guide, we’ll show you how to…

Read more

Disable Mass Delete Email Notification “Heads up! We noticed that you recently deleted a large number of files from a site” in SharePoint Online

Requirement: Disable the alert Email notification “Heads up! We noticed that you recently deleted a large number of files from a site” in SharePoint Online. When you delete files and folders in bulk, SharePoint Online triggers the following email to the tenant administrators and the user who deleted files to tell them…

Read more

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