How to Exclude a SharePoint Online Site from Retention Policy?

Requirement: Remove retention policy from SharePoint Online site Exclude a SharePoint Online site from the Retention Policy When you create a retention policy in Microsoft 365 – SharePoint Online, it’s automatically applied to all sites within your organization. If you don’t want the policy to apply to a specific site, you can…

Read more

SharePoint Online: PowerShell to Iterate through All Site Collections

Requirement: PowerShell to iterate through all site collections in SharePoint Online Tenant How to loop through all sites in SharePoint Online? Have you ever wanted to loop through all the sites in your SharePoint Online environment? Maybe you want to get a list of all site owners, or simply enumerate all the…

Read more

SharePoint Online: Copy All Document Libraries to Another Site using PowerShell

Requirement: Copy All Document Libraries to another Site collection in SharePoint Online. PowerShell to Copy Document Libraries from One Site to Another Site Collection: Are you looking to migrate all of your SharePoint Online document libraries from one site to another? If so, you can use PowerShell to copy them all over…

Read more

SharePoint Online: Monitor Site Collection Storage Usage with PowerShell

Requirement: Monitor SharePoint Online storage metrics and Send Emails on current usage. SharePoint Online: Storage Usage Report using PowerShell By default, SharePoint Online storage management is set to “Automatic,” and all storage allocations are automatically managed from the central pool of storage. However, In your environment, if the storage management option is…

Read more

Fix “A compliance policy is currently blocking this site deletion” Error in SharePoint Online

Problem: When trying to delete a SharePoint Online site collection, getting an error message “Can’t Delete Site: A compliance policy is currently blocking this site deletion”. Also, in the SharePoint Admin center, we get an intimation saying, “This site has a compliance policy set to block deletion.”  Root Cause: This is because…

Read more

SharePoint Online: Change Site from Private to Public

Requirement: Change a private site to public in SharePoint Online. Switch between Private and Public Sites in SharePoint Online In SharePoint Online, modern team sites are created with an Office 365 Group associated by default. You can set the site privacy to public or private while creating sites from the admin center….

Read more

SharePoint Online: PowerShell to Grant Site Permissions to User

Requirement: Grant permissions to a SharePoint Online site using PowerShell How to Grant Access to a SharePoint Online Site? When working with SharePoint Online, a common task is to add users to the site. This can be done in a few simple steps, which we will walk you through below. In SharePoint…

Read more

SharePoint Online: How to Create a Classic Site Collection?

Requirement: Create a classic team site collection in SharePoint Online How to create a Classic Team Site in SharePoint Online? You may want to create a classic style SharePoint Online site collection, maybe because your organization hasn’t adapted to the modern experience or because you want some of the default functionality from…

Read more

SharePoint Online: How to Exclude a Site from eDiscovery Hold?

Requirement: Exclude a site from the eDiscovery hold policy in SharePoint Online How to remove a SharePoint Online Site from eDiscovery Hold? When a SharePoint Online site is placed under eDiscovery hold, it prevents you from deleting the site or renaming its URL, prevents bulk deletes, and blocks few more operations. In…

Read more

SharePoint Online: Disable Access Requests for All Sites using PowerShell

Requirement: Disable access requests for SharePoint Online sites How to Disable Access Request in SharePoint Online? You may want to disable access requests in SharePoint Online in specific scenarios. We can disable the ability for people to request access to your SharePoint Online site, either from site settings or by using PowerShell….

Read more