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. You can remove the policy if you don’t want the policy to apply to…

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 a 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 and private by default. It is possible to change the privacy settings of a site from private to…

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. In SharePoint Online, it is easy to grant access to a site for specific users or groups and…

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? A site collection is a top-level site in SharePoint Online that contains a hierarchy of subsites. It is a container for all the sites, lists, libraries, and other content that make up…

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 a few more operations….

Read more

SharePoint Online: Disable Access Requests for All Sites using PowerShell

Requirement: Disable access requests for SharePoint Online sites. How to Disable Access Requests 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