
Any employee’s OneDrive for Business repositories may contain regulated or business-critical data that must be properly controlled by the organization at all times. Of course, ensuring that you can gain access to a user’s OneDrive data when required is not sufficient for security and compliance. Set-SPOUser -Site $sODFBSite -LoginName $sSecondaryODFBAdmin -IsSiteCollectionAdmin $true Data Classification Adds Protection to OneDrive for Business Repositories However, administrators can configure site collection owners through PowerShell by using the following script : $ssODFBSite=" " Add a secondary admin in the Site Collection AdministratorsĬonfiguring Site Collection Administrator Access to Files via PowerShell CmdletsĮach user is the SharePoint Site Collection Administrator for their own OneDrive for Business location.Right-click on the user’s name and select Manage Site Collection Owners.Under People, select Manage User Profiles.Open the “more features” page in the SharePoint Admin Center and sign in with an account that has admin permissions.Click the hyperlink to open OneDrive in your browser to access the user’s OneDrive as a secondary administrator.Ĭonfiguring Access to Files via the SharePoint Online Admin CenterĪn administrator can use the SharePoint Online Admin Center to transfer ownership of a OneDrive or control user access to OneDrive, as follows:.Click Access Files and grant yourself administrator privileges in the OneDrive settings.Select the OneDrive user whose files you need.Log into the Microsoft 365 Admin Center for your tenant.


