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

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 & 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

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 a newer…

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

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

SharePoint Online: How to Create Alert for Other Users?

Requirement: Set alerts for other users in SharePoint Online. How to set up alerts for other users in SharePoint Online? Alerts in SharePoint allow you to keep track of changes and activity within your site, so it is a valuable tool to have when collaborating with others. If you’ve been using SharePoint…

Read more