How to Remove a Redirect Site in SharePoint Online?

Problem: When you edit the URL of an existing SharePoint Online site, it automatically creates a new redirect from the old site to the new site. So, You can’t use the old site URL for new sites as there is an existing redirect site with the old URL already in place! Delete…

Read more

Display Profile Photo on Person or Group Columns in SharePoint Online

Do you know you can display the profile picture in the Person column in Modern SharePoint Online Lists and Libraries? Well, Here is how it works: That’s all! Once the list is populated, this is how it looks: You can also edit existing columns and enable the “Show Profile Photos” option. Please…

Read more

How to create a Newsletter (News Digest Email) in SharePoint Online?

Requirement: Create a Newsletter in SharePoint Online. SharePoint Online: How to create a News Digest Email from News Posts? News digest in SharePoint Online helps to promote news pages in the form of a newsletter by simply selecting news articles to include in the news digest and sending an email. Here is…

Read more

OneDrive for Business: Restore All Files and Folder from Recycle Bin using PowerShell

Requirement: Restore all deleted files and folders from OneDrive for business using PowerShell. PowerShell to Restore All Deleted Items in OneDrive for Business OneDrive for business stores all deleted items in the Recycle Bin. If you accidentally delete an item, you can restore the item from the Recycle Bin. Recovering deleted items…

Read more

How to Reset OneDrive for Business Sync Client?

Requirement: Reset OneDrive for Business sync client app. How to Reset OneDrive for Business? OneDrive for Business is an enterprise cloud storage and sync service from Microsoft. It lets you store your files online, share them with others, and work on them together. The OneDrive for Business sync client makes it easy…

Read more

SharePoint Online: How to Update Links in Word Documents using PowerShell?

Requirement: Update links in word documents in a SharePoint Online document library. PowerShell to Update Hyperlinks in Microsoft Word Documents In a migration project, We had to replace all links embedded in Microsoft Word documents stored in SharePoint Online document libraries. Opening each document and updating the old links with newer ones…

Read more

Fix: “Connect-SPOService: No valid OAuth 2.0 authentication session exists” Error

Problem: When trying to connect to SharePoint Online through PowerShell 7, got this error message “Connect-SPOService: No valid OAuth 2.0 authentication session exists”. Solution: Use the “-UseWindowsPowerShell” switch to import the PowerShell Module for SharePoint Online, when you use PowerShell 7! Import-Module Microsoft.Online.SharePoint.PowerShell -UseWindowsPowerShell

Read more

Install-Module : Administrator rights are required to install modules in ‘C:\Program files\WindowsPowerShell\Modules’.

Problem: When trying to install a PowerShell module, got an error message “Install-Module: Administrator rights are required to install modules in ‘C:\Program Files\WindowsPowershell\Modules’ Log on to the computer with an account that has Administrator rights, and then try again, or install ” by adding “-Scope Current User” to your command. You can…

Read more

PowerShell: How to Remove Duplicates from Array?

PowerShell is a powerful scripting language that is widely used in the IT industry to automate tasks. It is a command-line shell and scripting language that is built on top of the .NET framework. One of the most common tasks professionals perform in PowerShell is working with arrays. Arrays are a collection…

Read more

SharePoint Online: How to show all sites a user has access to?

Requirement: Display a list of all SharePoint Online sites a user has access to. How do I view all sites I have access to in SharePoint Online? In SharePoint Online, you may have noticed that there’s no easy way to view all the sites you have access to. Although the SharePoint start…

Read more