SharePoint Online: How to Apply Site Policy using PowerShell?

Requirement: Apply site policy in SharePoint Online using PowerShell. How to Apply SharePoint Online Site Policy using PowerShell? Site Policies are the great way to implement governance in SharePoint Online. As of today, we can’t create a new site policy through PowerShell! However, we can save time by creating a site policy…

Read more

SharePoint Online: How to Replace Classic Root Site Collection with a Modern Site?

Requirement: Convert SharePoint Online Root site collection from classic to modern site! Our requirement is, We built a new Intranet based on a Modern SharePoint Communication site and want to swap it into the root site. How to change the root site from classic to modern experience? As SharePoint Online root site…

Read more

Connect to SharePoint Online using PowerShell with MFA (Multi-factor Authentication)

Requirement: Connect to SharePoint Online from PowerShell using multi-factor authentication PowerShell to Connect to SharePoint Online with MFA Multi-Factor Authentication or two-factor authentication in Office 365 environments is often enabled as part of security hardening. Instead of typical user IDs and passwords, it adds an extra layer with SMS or phone call…

Read more

Find out Who has Deleted a Site Collection in SharePoint

Requirement: Find out who has deleted a site collection in SharePoint 2016 server. How to Find Who Deleted a SharePoint Site? Unfortunately, there are no direct ways to find out who deleted a SharePoint site. The PowerShell cmdlet “Get-SPDeletedSite” gets you all deleted site collections without any hint about the user who…

Read more

SharePoint Online: Find All Unused Sites based on Last Modified Date

Requirement: Get All Unused SharePoint Online Sites based on the last modified date. How to Find the Last Modified Date of SharePoint Online Site Collections? If you’re like most SharePoint administrators, you have a number of sites in your SharePoint Online tenant that are no longer being used, and you may want…

Read more

Microsoft 365: Get OneDrive for Business Usage Report using PowerShell

Requirement: Get OneDrive for business storage usage report using PowerShell How to Check the OneDrive for Business Storage Usage for a User in Office 365? OneDrive for Business is Microsoft’s cloud-based storage solution that lets you store and work on files that are personal to you. It offers easier collaboration, better accessibility, and…

Read more

OneDrive for Business: How to Remove Site Collection Administrator?

Requirement: Remove user from OneDrive for Business Administrator. How to Remove User from OneDrive for Business Site Collection? If you are a site collection admin to a OneDrive site, You can do the following to remove a user from the site collection admin list. Login to the target OneDrive for business site…

Read more

OneDrive for Business: How to Increase Storage Quota for a User?

Requirement: Increase OneDrive for Business Storage Quota using PowerShell. How to Increase OneDrive for Business Storage for One User? The storage quota allocated to each user’s OneDrive for Business site depends on your Microsoft 365 subscription plan. Say, for example, if you have plans like “Office 365 Enterprise E3”, your licensed users…

Read more

SharePoint Online: Get All Items Created or Modified by a Specific User

Requirement: Find All List Items Created or Modified by a Specific User PowerShell to Get All Files Created or Modified by a Particular User If you need to get a list of all items created or modified by a specific user in SharePoint Online, Here is the PowerShell script to do that!…

Read more