SharePoint Online: How to Inject Custom CSS in Modern Sites?

Requirement: Add custom CSS to modern SharePoint Online sites. How to Inject Custom CSS to Modern Sites in SharePoint Online? The Alternate CSS and script editor web parts are not supported in the Modern SharePoint Online sites. However, if you want to inject a custom CSS to your SharePoint Online sites, you…

Read more

Fix “Connect-SPOService : Could not connect to SharePoint Online.” Error

Problem: When trying to connect to SharePoint Online using the Connect-SPOService cmdlet, I got this error message, “Connect-SPOService : Could not connect to SharePoint Online.” Solutions: 1. Make sure the given tenant admin URL is correct, and your system is able to connect to the Tenant admin site! Just try to open…

Read more

Get-UnifiedGroup : The term ‘Get-UnifiedGroup’ is not recognized as the name of a cmdlet, function, script file, or operable program.

Problem: Getting “Get-UnifiedGroup : The term ‘Get-UnifiedGroup’ is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.” error in PowerShell! Root Cause and Solution: You must…

Read more

Find All Office 365 Group Memberships of a User using PowerShell

Requirement: Get a list of all Microsoft 365 groups where a particular user is a member (or owner!). How to a Find a Particular User’s All Office 365 Group Memberships? If you need to find all the Office 365 group memberships that a user is a part of, PowerShell is your best…

Read more

How to Create a Retention Policy to Preserve Deleted Items in SharePoint Online?

Requirement: Create a retention policy to preserve deleted items in SharePoint Online. How to create a Retention Policy for SharePoint Online? SharePoint Online retains deleted items for 93 days before they get deleted permanently. What if you want to preserve deleted items for more than 93 days? Say, for 10 years as…

Read more