Forum Discussion
Robert Lien
Mar 03, 2017Brass Contributor
Disable Onedrive for specific users
Hello, Is there ability either in the Portal or via Powershell where I can disable OneDrive4B without disabling other Sharepoint sites? thx
KumarAneesh
Copper Contributor
This is possible from SPO perspective via User Profiles. From SharePoint Admin Center > User Profiles > Manage User Permissions. Remove the 'Create Personal Site' permission for Everyone Except external users. Instead add a Security group with users which will have ODB access and assign it Create Personal Site permsisions. From now on, clicking on OneDrive shall redirect the users to Delve instead of ODB.
To remove onedrive client sync as well, delete the Mysite of the user via powershell or change site admins.
Hope this helps!
Swee Ching Ho
Jun 23, 2017Copper Contributor
I have tried this approach and it doesn't work, as the test user still able to access their ODFB files normally.
- KumarAneeshJun 23, 2017Copper ContributorDid ur test user have ODB prior to these changes? If yes, is he able to access ODB from browser even post changing the site collection admin ?
I have tested this and it is working seamlessly for me. Their offline files on the sync client will be accessible but they can't sync changes to ODB.