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 in SharePoint Online: In a migration project, I have a requirement to copy all document libraries from one site collection to another. Here is the PowerShell script I’ve…

Read more

SharePoint Online: Monitor Site Collection Storage Usage with PowerShell

Requirement: Monitor SharePoint Online storage metrics and Send E-mail 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 SharePoint Admin center, we get an intimation saying “This site has a compliance policy set to block deletion.”  Root Cause: This is because of…

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 during creating sites from the admin center….

Read more

SharePoint Online: PowerShell to Grant Site Permissions to User

Requirement: Grant permissions to SharePoint Online site using PowerShell. How to Grant Access to a SharePoint Online Site? In SharePoint Online modern sites, the default granularity options for accessing SharePoint content are as follows: Full Control, which is granted to Owners Edit, which is granted to Members Read, which is granted to…

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 the modern experience or because you want some of the default functionality from the…

Read more

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

Requirement: Exclude a site from 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 some more operations. In such…

Read more

SharePoint Online: Disable Access Requests for All Sites using PowerShell

Requirement: Disable access request for SharePoint Online sites. How to Disable Access Request in SharePoint Online? To disable access request for a SharePoint Online site, do the following: Click on Settings gear >> Site Permissions >> Access Requests Settings  This takes you to the SharePoint Online access request settings page of the…

Read more

How to Create a Redirect in SharePoint Online?

Requirement: Create a redirect in SharePoint Online. How to Redirect SharePoint Online page to a different URL? In classic SharePoint sites, we’ve script editor web part and redirect can be achieved with JavaScript as in my other article How to Redirect using JavaScript in SharePoint?. Now, We have a modern site collection…

Read more