In some cases, you might need administrative access to the OneDrive for Business environment of a user. Yesterday, for example, I had to make a backup of a couple of OneDrive for Business instances. As you might know, OneDrive for Business is SharePoint Online under the hood. By default, only the user has administrative rights of their OneDrive for Business; it is personal storage after all. If you open OneDrive for Business for another user, you will only see files that are shared with you or everyone as you can see in figure 1.
Figure 1: No administrative access OneDrive for Business
If you are familiar with SharePoint Online, you might recognize some of these steps to get administrative access.
- Go to the Office 365 admin portal.
- Open the SharePoint admin center.
- On the left, choose user profiles.
- Choose Manage User Profiles (see figure 2).
Figure 2: Manage User Profiles
- Find the user you would like to have access to. For this article, we’re using Sara Davis.
- Open the item menu of the user.
- Choose Manage site collection owners (see figure 3).
Figure 3: For administrative access to OneDrive for Business, click the Manage User Profiles item menu
Add your administrator account (figure 4) to the list of site collection administrators.
Figure 4: OneDrive for Business site collection admin
After executing the steps above, you will see all files and folders (figure 5) for the current user.
Figure 5: You now have administrative access to the user’s OneDrive for Business account
You can also use Windows PowerShell to add your admin account to the OneDrive for Business site collection of the user. Make sure you are connected to SharePoint Online before executing the scripts below. You can do this easily with the scripts provided in the related article: Easily manage multiple Office 365 tenants with Windows PowerShell.
You can find Eugene’s original blog here: http://www.eugenedauphin.com/2015/01/get-administrative-access-onedrive-business-environment-user/