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 a great way to implement governance in SharePoint Online. Applying site policies can be done through the SharePoint Online web browser interface, however, using PowerShell can be more efficient and allow…

Read more

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

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

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. SharePoint Site Collection deletion is a serious matter as it can lead to data loss and business disruption. In some cases, it can happen accidentally by a user with permission or maliciously by a user with access to SharePoint….

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 reports 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? Site collection administrators have the ability to manage and administer the OneDrive sites within their organization. However, there may be instances where a site collection administrator needs to be removed from their role. This…

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? OneDrive for Business is a cloud storage service that comes with Office 365 subscriptions. The storage quota allocated to each user’s OneDrive for Business site depends on your Microsoft 365 subscription plan. For…

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