Forum Discussion
lchow0805
May 14, 2021Copper Contributor
Read Only Access for OneDrives Users
Can an admin restrict access for users of content in their own enterprise OneDrive to read only. For example, for John's no longer wants to store more data on his OneDrive and wants it locked do...
- May 14, 2021
No, not really, at least not in any supported way. Users are added as site collection admins for their own ODFB, and thus can override any permission restrictions. Removing the site admin role will put you in "unsupported" configuration and will likely break a thing or two. Pinging jcgonzalezmartin just in case 🙂
JZMartinez
Jul 10, 2023Copper Contributor
You can now set a OneDrive location to ReadOnly. OneDrive is just a SharePoint site, so you can use the same command you would on a SharePoint site:
--- Set-SPOSite -Identity "<SiteURL>" -LockState "ReadOnly"
https://learn.microsoft.com/en-us/sharepoint/manage-lock-status#change-the-lock-state-for-a-site
Hope this helps.
--- Set-SPOSite -Identity "<SiteURL>" -LockState "ReadOnly"
https://learn.microsoft.com/en-us/sharepoint/manage-lock-status#change-the-lock-state-for-a-site
Hope this helps.