How to Disable OneDrive for Business in Office 365 – SharePoint Online?
How to Disable OneDrive for Business for All Users?
Here is how to disable OneDrive entirely in Office 365:
- Go to SharePoint Admin Center >> Click “More Features” from the left navigation.
- On the “User Profiles” page, Click on the “Manage User Permissions” link under the “People” group.
- This opens the permissions popup for the user profiles service. By default, “Personal Site creation” permission is enabled for all users through the “Everyone except external users” group.
- Uncheck the Create Personal Site permission check box (and check Disable OneDrive if available!) to disable OneDrive for all users.
From now on, users will be unable to create their OneDrive, which stops OneDrive sites from being created. To enable OneDrive for business back, tick those checkboxes again!
Disable OneDrive for Business for Some Users:
If you need to disable OneDrive for all users except a particular group of people, create a new security group in AD/Office 365 and add the group to the above user permissions, and then enable “Create Personal site” and disable “Disable OneDrive” checkboxes only for the particular group!
Disable Existing OneDrives in Office 365:
The above steps don’t harm existing OneDrive sites that were created. Users can access their existing OneDrive sites as usual. If you need to prevent them from accessing OneDrive sites, your options are:
- Remove Site Collection Admin permission of the user from OneDrive Sites
- Go to: SharePoint Admin Center >> Click on “User profiles” from the left navigation
- Click on Manage User Profiles >> Find the user >> Click on the user’s context menu
- Manage personal site collection owners >> Change the site collection owner.
- Ask the user to download all their OneDrive data and Delete OneDrive Sites. If you want to delete existing OneDrive sites, use: How to Delete OneDrive Sites in Office 365?
Office 365 PowerShell to Disable OneDrive for Business
How to block the OneDrive site of a user in Office 365? Here is the PowerShell to disable OneDrive for Business site by setting the “No Access” lock:
1 2 3 4 5 6 7 8 9 10 11 | Import-Module Microsoft.Online.SharePoint.Powershell -DisableNameChecking #Parameters $AdminSiteURL = "https://crescent-admin.sharepoint.com" #Tenant Admin Site $OneDriveSiteURL = "https://crescent-my.sharepoint.com/personal/salaudeen_crescent_com" #Connect to SharePoint Online Admin Center Connect-SPOService -Url $AdminSiteURL -Credential ( Get-Credential ) #powershell disable onedrive for business Get-SPOSite -Identity $OneDriveSiteURL | Set-SPOSite -LockState NoAccess |
Remove the “OneDrive” Link from the App launcher in Office 365
We can also hide the OneDrive for Business app from the App launcher using the below option from
- Go to SharePoint Admin Center >> Click on Settings from the left navigation >> Click on “Classic settings page” at the bottom. (URL: https://YourTenant-admin.sharepoint.com/_layouts/15/online/TenantSettings.aspx)
- At the “Show or Hide Options” for OneDrive for Business, toggle to the “Hide” button
This disables the OneDrive link for all users in the App Launcher, but existing OneDrive users can still access their OneDrive if they browse the URL directly. Also, this doesn’t prevent users from saving files to OneDrive or using the OneDrive Sync client.
No comments:
Post a Comment