Find All OneDrive for Business Site Collections in SharePoint Online using PowerShell

Requirement: Get a list of all OneDrive site collections from SharePoint Online. I was asked to get the list of all OneDrive sites to get the usage of OneDrive for Business in our Office 365 tenant. It’s a bit tricky to find all of your OneDrive site collections and here is how…

Read more

How to Disable OneDrive for Business in Office 365-SharePoint Online?

Requirement: For Security reasons and to take more control over what users are saving to OneDrive, The organization wanted to disable OneDrive for Business in Office 365. Typically, Office 365 services can be enabled or disabled through managing license for products in Office 365 Admin center, E.g. If you don’t want your…

Read more

Migrate File Share to SharePoint Online using PowerShell

Requirement: Migrate All Files and Folders from a Network File Share to SharePoint Online. PowerShell to Bulk Upload All Files from Network File Share to SharePoint Online Let’s migrate data from the file server to SharePoint Online using PowerShell. We can also copy or move local files to SharePoint Online using this…

Read more

Get-Set OneDrive Site Collection Storage Quota Size using PowerShell

Get OneDrive Site Collection Storage Quota Information To get the storage quota data for a particular OneDrive site, use this PowerShell cmdlet in SharePoint Online Management Shell This gets you the currently allocated storage quota data for a single site collection. Get Storage Quota Details of All OneDrive Site collections Use this…

Read more

SharePoint Online: Change Idle Session Timeout Settings

Task: Set idle session timeout value for SharePoint Online. How to Set SharePoint Online Idle Session Timeout? Idle session timeout in SharePoint Online is a security mechanism that warns and sign-outs the user after a period of inactivity. By default, idle session timeout settings are disabled in SharePoint Online. To enable idly…

Read more

How to Create OneDrive for Business Site Collections using PowerShell?

Requirement: Pre-Create OneDrive for Business Sites using PowerShell. OneDrive for Business is Microsoft’s cloud-based storage solution that lets users store and work on files that are personal to them. It’s similar to a SharePoint Online document library with full control granted to users so that they can add, update, and delete files…

Read more

SharePoint Online: Set Anonymous Link Expiration Settings

Requirement: Configure Anonymous Link Expiration in SharePoint Online. How to Set Expiry for Anonymous Links in SharePoint Online? Anonymous links Expiration is a security best practice in SharePoint Online, This allows SharePoint Online administrators to set the maximum expiration duration for items shared via anonymous shared links. You can set the SharePoint…

Read more

SharePoint Online: How to Disable the “Sync” Button in a Document Library?

Requirement: Disable Sync button in SharePoint Online or OneDrive for Business Document Library. How to disable sync button in a SharePoint Online Document Library? To disable the sync button for a single library, Go to: Library Settings >> Advanced Settings  Set “No” for “Offline Client Availability” This disables the Sync button from…

Read more

SharePoint Online: Change Time Zone using PowerShell

Requirement: Change Timezone in SharePoint Online. How to Change Timezone in SharePoint Online? As a global organization operating in different regions and time zones, we wanted to set time zones for respective sites since users get annoyed when they see Pacific time zones in the uploaded document’s time stamps. SharePoint Online timezone…

Read more

How to Delete OneDrive for Business Site Collection in SharePoint Online?

Requirement: Delete OneDrive for Business Site Collection! After a business decision made to disable OneDrive in organization-wide, We configured the settings to disable OneDrive. However,  All existing OneDrive sites were active, users can access them and we wanted to remove them all! Any SharePoint My Site or OneDrive for business site gets…

Read more